[nautilus/gnome-3-4] link: plug a memory leak



commit 9684ae22e4b4e02d8dc0b944d956ac7f7b8863f4
Author: Charles Kerr <charles kerr canonical com>
Date:   Wed Apr 18 17:44:32 2012 -0400

    link: plug a memory leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674087

 libnautilus-private/nautilus-link.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-link.c b/libnautilus-private/nautilus-link.c
index 8eb08d3..2d9adee 100644
--- a/libnautilus-private/nautilus-link.c
+++ b/libnautilus-private/nautilus-link.c
@@ -396,6 +396,7 @@ nautilus_link_get_link_uri_from_desktop (GKeyFile *key_file, const char *desktop
 				g_object_unref (parent);
 			}
 		}
+		g_free (scheme);
 	}
 
 	return retval;



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