Fix Coverity Scan CID 339961

This commit is contained in:
Dong Anyuan
2019-05-28 18:41:18 +09:00
parent ebd40e8d4e
commit f4ab9af045
+1 -1
View File
@@ -41,7 +41,7 @@
int parse_stringlist(paramdef_t *cfgoptions, char *val) { int parse_stringlist(paramdef_t *cfgoptions, char *val) {
char *atoken; char *atoken;
char *tokctx; char *tokctx = NULL;
char *tmpval=strdup(val); char *tmpval=strdup(val);
int numelt=0; int numelt=0;
cfgoptions->numelt=0; cfgoptions->numelt=0;