Hello community,

here is the log from the commit of package curlftpfs for openSUSE:Factory 
checked in at 2015-11-26 17:03:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/curlftpfs (Old)
 and      /work/SRC/openSUSE:Factory/.curlftpfs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "curlftpfs"

Changes:
--------
--- /work/SRC/openSUSE:Factory/curlftpfs/curlftpfs.changes      2012-06-05 
15:30:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.curlftpfs.new/curlftpfs.changes 2015-11-26 
17:03:43.000000000 +0100
@@ -1,0 +2,6 @@
+Fri Nov 20 16:04:58 UTC 2015 - ernestophe...@googlemail.com
+
+- bug-955687.patch: fixed memory leak. openSUSE bug boo#955687
+  (Debian bug 587250)
+
+-------------------------------------------------------------------

New:
----
  bug-955687.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ curlftpfs.spec ++++++
--- /var/tmp/diff_new_pack.o0S92r/_old  2015-11-26 17:03:43.000000000 +0100
+++ /var/tmp/diff_new_pack.o0S92r/_new  2015-11-26 17:03:44.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package curlftpfs
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 Source:         %{name}-%{version}.tar.bz2
 Patch:          bug-580609.patch
 Patch1:         curlftpfs-needs-pthread
+Patch2:         bug-955687.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  curl-devel
 BuildRequires:  fuse-devel
@@ -53,6 +54,7 @@
 %setup -q
 %patch
 %patch1 -p1
+%patch2
 
 %build
 autoreconf -fi

++++++ bug-955687.patch ++++++
Index: ftpfs.c
===================================================================
--- ftpfs.c.orig
+++ ftpfs.c
@@ -614,6 +614,8 @@ static void free_ftpfs_file(struct ftpfs
   sem_destroy(&fh->data_need);
   sem_destroy(&fh->data_written);
   sem_destroy(&fh->ready);
+  if (fh->buf.size) { buf_free(&fh->buf); }
+  if (fh->stream_buf.size) { buf_free(&fh->stream_buf); }
   free(fh);
 }
 

Reply via email to