Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2008-08-13 05:05:45 +0400
committerEion Robb <eion@robbmob.com>2008-08-13 05:05:45 +0400
commit3bbc087614c44fd5f25e3877dcf1a899c42ec3ba (patch)
treebf255d35e49b9c400483369f1a6cd784eba28569 /skype_messaging_x11.c
parent3e37c1c61d320bdcebba0954c41f5885b4fb8922 (diff)
Should fix problems with new less-threaded version
Diffstat (limited to 'skype_messaging_x11.c')
-rw-r--r--skype_messaging_x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/skype_messaging_x11.c b/skype_messaging_x11.c
index 1fa7297..386709c 100644
--- a/skype_messaging_x11.c
+++ b/skype_messaging_x11.c
@@ -59,11 +59,13 @@ skype_connect()
status = XGetWindowProperty(disp, root, skype_inst, 0, 1, False, XA_WINDOW, &type_ret, &format_ret, &nitems_ret, &bytes_after_ret, &prop);
if(status != Success || format_ret != 32 || nitems_ret < 1)
{
+ XFree(prop);
skype_win = (Window)-1;
skype_debug_info("skype", "Skype instance not found\n");
return FALSE;
}
skype_win = * (const unsigned long *) prop & 0xffffffff;
+ XFree(prop);
run_loop = TRUE;
receiving_thread = g_thread_create((GThreadFunc)receive_message_loop, NULL, FALSE, NULL);