Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/jshn.c
diff options
context:
space:
mode:
Diffstat (limited to 'jshn.c')
-rw-r--r--jshn.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/jshn.c b/jshn.c
index 1efe254..2eebe6c 100644
--- a/jshn.c
+++ b/jshn.c
@@ -443,12 +443,15 @@ int main(int argc, char **argv)
indent = true;
break;
default:
+ free(vars);
return usage(argv[0]);
}
}
+ free(vars);
return usage(argv[0]);
exit:
+ free(vars);
return ret;
}