public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/gnome-user-share] wip/oholy/f45-update: fix a small memory leak`
@ 2026-06-24 11:34 Matthias Clasen
  0 siblings, 0 replies; only message in thread
From: Matthias Clasen @ 2026-06-24 11:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/gnome-user-share
Branch : wip/oholy/f45-update
Commit : b8c56a16334d5803e873ea8ebd99e0a5c74d30c7
Author : Matthias Clasen <mclasen@fedoraproject.org>
Date   : 2007-09-11T20:08:52+00:00
Stats  : +18/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/gnome-user-share/c/b8c56a16334d5803e873ea8ebd99e0a5c74d30c7?branch=wip/oholy/f45-update

Log:
fix a small memory leak`

---
diff --git a/gnome-user-share.spec b/gnome-user-share.spec
index cc7ecb0..4543021 100644
--- a/gnome-user-share.spec
+++ b/gnome-user-share.spec
@@ -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 @@ Patch0: gnome-user-share-0.11-invisible-char.patch
 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 @@ up in the Network location in GNOME.
 %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 @@ fi
 %{_sysconfdir}/gconf/schemas/*
 
 %changelog
+* Tue Sep 11 2007 Matthias Clasen <mclasen@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.
 

diff --git a/str-leak.patch b/str-leak.patch
new file mode 100644
index 0000000..3fb0b8f
--- /dev/null
+++ b/str-leak.patch
@@ -0,0 +1,11 @@
+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;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-24 11:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 11:34 [rpms/gnome-user-share] wip/oholy/f45-update: fix a small memory leak` Matthias Clasen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox