From 05b4e46fe51eab6604648e706a6130a709ea8081 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 3 Nov 2014 19:18:14 +0300 Subject: don't leak memory --- maximus/maximus-bind.c | 1 + 1 file changed, 1 insertion(+) diff --git a/maximus/maximus-bind.c b/maximus/maximus-bind.c index 7fbcefc..9678b18 100644 --- a/maximus/maximus-bind.c +++ b/maximus/maximus-bind.c @@ -365,6 +365,7 @@ create_rule (MaximusBind *bind, const gchar *filename) { g_warning ("Unable to load %s: %s\n", filename, error->message); g_error_free (error); + g_key_file_free (file); return; } -- cgit v1.2.1