rpms/gnome-user-share/devel str-leak.patch, NONE, 1.1 gnome-user-share.spec, 1.26, 1.27
Matthias Clasen (mclasen)
fedora-extras-commits at redhat.com
Tue Sep 11 20:09:26 UTC 2007
Author: mclasen
Update of /cvs/extras/rpms/gnome-user-share/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31195
Modified Files:
gnome-user-share.spec
Added Files:
str-leak.patch
Log Message:
fix a small memory leak`
str-leak.patch:
--- NEW FILE str-leak.patch ---
diff -up gnome-user-share-0.11/user_share.c.str-leak gnome-user-share-0.11/user_share.c
--- gnome-user-share-0.11/user_share.c.str-leak 2007-09-11 16:00:18.000000000 -0400
+++ gnome-user-share-0.11/user_share.c 2007-09-11 16:00:40.000000000 -0400
@@ -594,6 +594,7 @@ spawn_httpd (int port, pid_t *pid_out)
argv[i++] = "RequirePasswordAlways";
}
+ g_free (str);
g_object_unref (client);
argv[i] = NULL;
Index: gnome-user-share.spec
===================================================================
RCS file: /cvs/extras/rpms/gnome-user-share/devel/gnome-user-share.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- gnome-user-share.spec 28 Aug 2007 21:38:30 -0000 1.26
+++ gnome-user-share.spec 11 Sep 2007 20:08:52 -0000 1.27
@@ -1,7 +1,7 @@
Summary: Gnome user file sharing
Name: gnome-user-share
Version: 0.11
-Release: 8%{?dist}
+Release: 9%{?dist}
License: GPLv2+
Group: System Environment/Libraries
URL: http://www.gnome.org
@@ -12,6 +12,8 @@
Patch1: gnome-user-share-0.11-export-session-id.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=456390
Patch2: password-edit.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=475994
+Patch3: str-leak.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: httpd >= 2.2.0
@@ -45,6 +47,7 @@
%patch0 -p1 -b .invisible-char
%patch1 -p1 -b .export-session-id
%patch2 -p1 -b .password-edit
+%patch3 -p1 -b .str-leak
%build
autoheader ; autoconf # for patch1
@@ -95,6 +98,9 @@
%{_sysconfdir}/gconf/schemas/*
%changelog
+* Tue Sep 11 2007 Matthias Clasen <mclasen at redhat.com> - 0.11-9
+- Fix a memory leak
+
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.11-8
- Rebuild for selinux ppc32 issue.
More information about the fedora-extras-commits
mailing list