commit | ade7459ea7c75b4f33f7cfa43dd5bdfa0c18d6d5 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Mon Aug 06 19:42:47 2012 -0700 |
committer | Behdad Esfahbod <behdad@behdad.org> | Mon Aug 06 19:49:42 2012 -0700 |
tree | 9e09dc2bb56a55e87168932decf3af524e86c8ab | |
parent | 2fef993460dcfd94c92ab35413bdde18ad2b0ceb [diff] [blame] |
[util] Fix leaks
diff --git a/util/options.cc b/util/options.cc index 3a9496b..d2a3846 100644 --- a/util/options.cc +++ b/util/options.cc
@@ -178,7 +178,7 @@ GError **error G_GNUC_UNUSED) { shape_options_t *shape_opts = (shape_options_t *) data; - g_free (shape_opts->shapers); + g_strfreev (shape_opts->shapers); shape_opts->shapers = g_strsplit (arg, ",", 0); return true; }