summaryrefslogtreecommitdiffstats
path: root/gobject
diff options
context:
space:
mode:
Diffstat (limited to 'gobject')
-rw-r--r--gobject/pygoptioncontext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/pygoptioncontext.c b/gobject/pygoptioncontext.c
index c58c410..7996fb6 100644
--- a/gobject/pygoptioncontext.c
+++ b/gobject/pygoptioncontext.c
@@ -108,7 +108,7 @@ pyg_option_context_parse(PyGOptionContext *self,
if (!result)
{
- g_free(argv_content);
+ g_strfreev(argv_content);
g_strfreev(original);
pyg_error_check(&error);
return NULL;
@@ -122,7 +122,7 @@ pyg_option_context_parse(PyGOptionContext *self,
}
g_strfreev(original);
- g_free(argv_content);
+ g_strfreev(argv_content);
return new_argv;
}