rpms/nautilus-open-terminal/F-12 leak.patch, NONE, 1.1 nautilus-open-terminal.spec, 1.34, 1.35

Matthias Clasen mclasen at fedoraproject.org
Mon Oct 5 04:39:11 UTC 2009


Author: mclasen

Update of /cvs/pkgs/rpms/nautilus-open-terminal/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19330

Modified Files:
	nautilus-open-terminal.spec 
Added Files:
	leak.patch 
Log Message:
Plug a small leak


leak.patch:
 eel-gnome-extensions.c |    1 +
 1 file changed, 1 insertion(+)

--- NEW FILE leak.patch ---
diff -up nautilus-open-terminal-0.17/src/eel-gnome-extensions.c.leak nautilus-open-terminal-0.17/src/eel-gnome-extensions.c
--- nautilus-open-terminal-0.17/src/eel-gnome-extensions.c.leak	2009-10-05 00:33:09.578719889 -0400
+++ nautilus-open-terminal-0.17/src/eel-gnome-extensions.c	2009-10-05 00:33:38.925721117 -0400
@@ -61,6 +61,7 @@ try_terminal_command (const char *progra
 	}
 
 	quoted = g_shell_quote (program_in_path);
+	g_free (program_in_path);
 	if (args == NULL || args[0] == '\0') {
 		return quoted;
 	}


Index: nautilus-open-terminal.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nautilus-open-terminal/F-12/nautilus-open-terminal.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -p -r1.34 -r1.35
--- nautilus-open-terminal.spec	11 Aug 2009 05:28:23 -0000	1.34
+++ nautilus-open-terminal.spec	5 Oct 2009 04:39:10 -0000	1.35
@@ -1,6 +1,6 @@
 Name:           nautilus-open-terminal
 Version:        0.17
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:        Nautilus extension for an open terminal shortcut
 
 Group:          User Interface/Desktops
@@ -15,18 +15,21 @@ BuildRequires:	libtool automake autoconf
 # need extensions
 BuildRequires:	nautilus-devel
 
+# https://bugzilla.gnome.org/show_bug.cgi?id=597376
+Patch0: leak.patch
 
-%description 
+%description
 The nautilus-open-terminal extension provides a right-click "Open
 Terminal" option for nautilus users who prefer that option.
 
 %prep
 %setup -q
+%patch0 -p1 -b .leak
 libtoolize --force --copy
 autoreconf
 
 %build
-%configure 
+%configure
 make %{?_smp_mflags}
 
 
@@ -57,6 +60,9 @@ gconftool-2 \
 %{_libdir}/nautilus/extensions-2.0/*.so*
 
 %changelog
+* Mon Oct  5 2009 Matthias Clasen <mclasen at redhat.com> - 0.17-2
+- Plug a small leak
+
 * Tue Aug 11 2009 Matthias Clasen <mclasen at redhat.com> - 0.17-1
 - Update to 0.17
 




More information about the fedora-extras-commits mailing list