]> granicus.if.org Git - procps-ng/commit
library: fix new and unref pids test
authorCraig Small <csmall@dropbear.xyz>
Tue, 7 Jun 2016 11:13:57 +0000 (21:13 +1000)
committerCraig Small <csmall@dropbear.xyz>
Tue, 7 Jun 2016 11:13:57 +0000 (21:13 +1000)
commitd2b29312bb6d0b82b19744778e1a0ff1b7ef5ed1
tree0e00360379a69bff7b3512b7efadf8e015c380e6
parentacb83a2b742653c4c45790419ebeb804a07845d5
library: fix new and unref pids test

The original test did not NULL the unallocated info pointer. This
was incorrectly calling the procps_pids_new() function.

Signed-off-by: Craig Small <csmall@dropbear.xyz>
proc/test_pids.c