commit ce994cbe57cf1093c1045c0083ece182df13d71a
Author: Christophe Fergeau <[email protected]>
Date:   Tue Nov 17 22:14:29 2009 +0100

    [hal] don't leak SysInfoExtended data in iphone callout

 tools/iphone-callout.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tools/iphone-callout.c b/tools/iphone-callout.c
index b9e5492..f23cecb 100644
--- a/tools/iphone-callout.c
+++ b/tools/iphone-callout.c
@@ -19,6 +19,7 @@ static gboolean write_sysinfo_extended (const char *uuid)
     }
 
     write_ok = iphone_write_sysinfo_extended (uuid, sysinfo_extended);
+    g_free (sysinfo_extended);
 
     if (!write_ok) {
         g_print ("couldn't write SysInfoExtended to device %s\n", uuid);

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to