summaryrefslogtreecommitdiff
path: root/debian/patches/0002-libnetfs-fix-memory-leak.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-31 19:59:58 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-31 19:59:58 +0200
commit6dd6026b9e967b14c52945832f7dead1acbbb04b (patch)
tree006e1651d56eb73e7e55c910413819b87e4b238d /debian/patches/0002-libnetfs-fix-memory-leak.patch
parent211abd93cd21d05199de03829778c28f68f7848c (diff)
drop old patch series
Diffstat (limited to 'debian/patches/0002-libnetfs-fix-memory-leak.patch')
-rw-r--r--debian/patches/0002-libnetfs-fix-memory-leak.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/debian/patches/0002-libnetfs-fix-memory-leak.patch b/debian/patches/0002-libnetfs-fix-memory-leak.patch
deleted file mode 100644
index 260c2698..00000000
--- a/debian/patches/0002-libnetfs-fix-memory-leak.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 9d8a274e00cf01d2a2ea137f5dbd6f5edb37c15b Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Sat, 31 May 2014 09:16:00 +0200
-Subject: [PATCH 2/6] libnetfs: fix memory leak
-
-* libnetfs/trans-callback.c (_netfs_translator_callback2_fn): Free
-user if creating the protid failed.
----
- libnetfs/trans-callback.c | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/libnetfs/trans-callback.c b/libnetfs/trans-callback.c
-index 4dec162..f4f0c62 100644
---- a/libnetfs/trans-callback.c
-+++ b/libnetfs/trans-callback.c
-@@ -74,7 +74,10 @@ _netfs_translator_callback2_fn (void *cookie1, void *cookie2, int flags,
- return 0;
- }
- else
-- return errno;
-+ {
-+ iohelp_free_iouser (user);
-+ return errno;
-+ }
- }
-
- fshelp_fetch_root_callback1_t _netfs_translator_callback1 =
---
-2.0.0.rc2
-