Replace free and nullify by mfree

This commit is contained in:
Daniel Lockyer 2017-11-24 09:37:50 +00:00
parent 87e4e28dcf
commit 95333b2bed
1 changed files with 1 additions and 2 deletions

View File

@ -2092,8 +2092,7 @@ int cg_get_keyed_attribute(const char *controller, const char *path, const char
for (i = 0; keys[i]; i++) {
if (!values[i]) {
for (i = 0; keys[i]; i++) {
free(values[i]);
values[i] = NULL;
values[i] = mfree(values[i]);
}
return -ENOENT;
}