summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-12-23 03:36:07 +0100
committerGravatar Nikias Bassen2009-12-23 03:36:07 +0100
commitd356ed7d2bc39020669a4393a3657628a530fd1c (patch)
tree7ac971ff4d677e387db0c4222c530635c44bf5f2
parent219742cfc736911fc73f09bc2eba4e403d90a4e4 (diff)
downloadsbmanager-d356ed7d2bc39020669a4393a3657628a530fd1c.tar.gz
sbmanager-d356ed7d2bc39020669a4393a3657628a530fd1c.tar.bz2
memory leak fix
-rw-r--r--src/sbmanager.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sbmanager.c b/src/sbmanager.c
index 2011f87..6dc8bde 100644
--- a/src/sbmanager.c
+++ b/src/sbmanager.c
@@ -156,6 +156,9 @@ static void get_icon_for_node(plist_t node, GList **list, sbservices_client_t sb
}
free(value);
}
+ if (png) {
+ free(png);
+ }
}
static void page_indicator_group_align()