Memory leak fix
authorPhilip Van Hoof <pvanhoof@gnome.org>
Thu, 14 Jun 2007 14:27:56 +0000 (14:27 +0000)
committerPhilip Van Hoof <pvanhoof@src.gnome.org>
Thu, 14 Jun 2007 14:27:56 +0000 (14:27 +0000)
2007-06-14  Philip Van Hoof  <pvanhoof@gnome.org>

        * camel-net-utils.c: Memory leak fix

svn path=/trunk/; revision=7818

camel/ChangeLog
camel/camel-net-utils.c

index aefa4e6..c290e42 100644 (file)
@@ -1,4 +1,8 @@
 2007-06-14  Philip Van Hoof  <pvanhoof@gnome.org>
+       
+       * camel-net-utils.c: Memory leak fix
+
+2007-06-14  Philip Van Hoof  <pvanhoof@gnome.org>
 
        * camel-imap-folder.c: Security bugfix. The sequence can be a negative
        value while it is being used as the index of an array (#447414)
index e4ad909..c7b3691 100644 (file)
@@ -637,7 +637,7 @@ cs_getaddrinfo(void *data)
        info->result = getaddrinfo(info->name, info->service, info->hints, info->res);
        
        if (info->cancelled) {
-               g_free(info);
+               cs_freeinfo(info);
        } else {
                e_msgport_reply((EMsg *)info);
        }