summaryrefslogtreecommitdiff
path: root/pluma/pluma.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2014-11-03 13:58:45 +0300
committerinfirit <[email protected]>2014-12-19 13:56:35 +0100
commitd01f58c9f78c07719c42d1973d57bc4f347481e7 (patch)
tree28bd090067ace897a023fa438945fa6b6e0e9e04 /pluma/pluma.c
parent4a79fb544f5c35843d536d73d60bc10f52ba7d4c (diff)
downloadpluma-d01f58c9f78c07719c42d1973d57bc4f347481e7.tar.bz2
pluma-d01f58c9f78c07719c42d1973d57bc4f347481e7.tar.xz
don't leak memory
Diffstat (limited to 'pluma/pluma.c')
-rw-r--r--pluma/pluma.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pluma/pluma.c b/pluma/pluma.c
index 9e52bb90..8cd599dd 100644
--- a/pluma/pluma.c
+++ b/pluma/pluma.c
@@ -607,9 +607,10 @@ main (int argc, char *argv[])
if (!g_option_context_parse (context, &argc, &argv, &error))
{
- g_print(_("%s\nRun '%s --help' to see a full list of available command line options.\n"),
- error->message, argv[0]);
+ g_print(_("%s\nRun '%s --help' to see a full list of available command line options.\n"),
+ error->message, argv[0]);
g_error_free (error);
+ g_option_context_free (context);
return 1;
}