summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2010-01-20 19:56:32 +0100
committerGravatar Martin Szulecki2010-01-20 21:33:01 +0100
commit36648a70a67af7d6c0a8349823cccba954a221ac (patch)
treed258fe22cb3d39b89edb14a7d5fc2457e8e14392
parent87e4212b14fb26edeb7509c16c03ea53db970c5e (diff)
downloadsbmanager-36648a70a67af7d6c0a8349823cccba954a221ac.tar.gz
sbmanager-36648a70a67af7d6c0a8349823cccba954a221ac.tar.bz2
Free pages before reloading icons
-rw-r--r--src/sbmanager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sbmanager.c b/src/sbmanager.c
index 39ce556..b09b742 100644
--- a/src/sbmanager.c
+++ b/src/sbmanager.c
@@ -1131,6 +1131,8 @@ static gboolean gui_pages_init_cb(gpointer data)
GError *error = NULL;
plist_t iconstate = NULL;
+ pages_free();
+
/* connect to sbservices */
if (!sbc)
sbc = device_sbs_new(app->uuid, &error);