projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9162fe
)
cmd_parser: Fix invalid free()
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Fri, 17 Oct 2014 09:55:53 +0000
(11:55 +0200)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Fri, 17 Oct 2014 09:55:53 +0000
(11:55 +0200)
src/cmd_parser.c
patch
|
blob
|
history
diff --git
a/src/cmd_parser.c
b/src/cmd_parser.c
index
db900d6
..
1ee83fc
100644
(file)
--- a/
src/cmd_parser.c
+++ b/
src/cmd_parser.c
@@
-501,5
+501,5
@@
free_options(struct CmdOptions *options)
cr_slist_free_full(options->l_update_md_paths, g_free);
cr_slist_free_full(options->distro_cpeids, g_free);
cr_slist_free_full(options->distro_values, g_free);
-
cr_slist_free_full(options->oldpackagedirs_paths, g_free
);
+
g_slist_free(options->oldpackagedirs_paths
);
}