library: correct one <pids> reference from str to strv
While not changing generated code this commit corrects one free reference from 'str' to a more proper 'strv'. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
aed8ad5e5c
commit
9db796f8cb
@ -275,7 +275,7 @@ static void freNAME(str) (struct pids_result *R) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void freNAME(strv) (struct pids_result *R) {
|
static void freNAME(strv) (struct pids_result *R) {
|
||||||
if (R->result.str && *R->result.strv) free(*R->result.strv);
|
if (R->result.strv && *R->result.strv) free(*R->result.strv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user