summaryrefslogtreecommitdiff
path: root/debian/patches/0006-term-fix-memory-leak.patch
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-22 20:18:05 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-22 20:18:05 +0200
commit24add11a7236d13738c5db763bfbff4116de4c9b (patch)
treeef54938add5cccba5248e1da75fe00de2fc560a1 /debian/patches/0006-term-fix-memory-leak.patch
parent78acdaa8fc996dbf70d23d69aea9f81499290c26 (diff)
drop old patch series
Diffstat (limited to 'debian/patches/0006-term-fix-memory-leak.patch')
-rw-r--r--debian/patches/0006-term-fix-memory-leak.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/debian/patches/0006-term-fix-memory-leak.patch b/debian/patches/0006-term-fix-memory-leak.patch
deleted file mode 100644
index ce4f74ee..00000000
--- a/debian/patches/0006-term-fix-memory-leak.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 04e1f62116a793fdc68ed94708ff0e19dd606b84 Mon Sep 17 00:00:00 2001
-From: Justus Winter <4winter@informatik.uni-hamburg.de>
-Date: Tue, 20 May 2014 16:17:17 +0200
-Subject: [PATCH 06/27] term: fix memory leak
-
-I hope someone fixed that bug.
-
-* term/users.c (pi_destroy_hook): Fix memory leak.
----
- term/users.c | 4 +---
- 1 file changed, 1 insertion(+), 3 deletions(-)
-
-diff --git a/term/users.c b/term/users.c
-index 97bc22c..9bd51d0 100644
---- a/term/users.c
-+++ b/term/users.c
-@@ -259,9 +259,7 @@ pi_destroy_hook (struct trivfs_protid *cred)
- {
- assert (((struct protid_hook *)cred->hook)->refcnt > 0);
- if (--((struct protid_hook *)cred->hook)->refcnt == 0)
-- /* XXX don't free for now, so we can try and catch a multiple-freeing
-- bug. */
-- /* free (cred->hook) */;
-+ free (cred->hook);
- }
- pthread_mutex_unlock (&global_lock);
- }
---
-2.0.0.rc2
-