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:
Jim Warner 2015-10-25 00:00:00 -05:00 committed by Craig Small
parent aed8ad5e5c
commit 9db796f8cb

View File

@ -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);
} }