From 9db796f8cb324e3f7635d8c8065b10aabcd789b6 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Sun, 25 Oct 2015 00:00:00 -0500 Subject: [PATCH] library: correct one 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 --- proc/pids.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/pids.c b/proc/pids.c index a9efcfcc..609a34ab 100644 --- a/proc/pids.c +++ b/proc/pids.c @@ -275,7 +275,7 @@ static void freNAME(str) (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); }