Fix for TnyMaemoConicDevice



Hi,

this patch fixes a problem freeing resource that could easily cause
SIGSEVs in applications that use it.

Br
Index: tny-maemo-conic-device.c
===================================================================
--- tny-maemo-conic-device.c	(revision 3225)
+++ tny-maemo-conic-device.c	(working copy)
@@ -186,7 +186,7 @@
 			g_error_free (err);
 
 		g_object_unref (info->self);
-		g_free (info->self);
+		g_free (info->iap_id);
 		g_slice_free (ConnectInfo, info);
 	}
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]