[pkg-opensc-commit] [engine-pkcs11] 42/43: Drop upstreamed memory leak patch

Eric Dorland eric at moszumanska.debian.org
Sun Jan 31 06:38:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository engine-pkcs11.

commit 705ae7f20eb671ae934927c190f1ac6651d4e6c4
Author: Eric Dorland <eric at debian.org>
Date:   Sun Jan 31 01:29:09 2016 -0500

    Drop upstreamed memory leak patch
---
 debian/changelog                                     |  3 +++
 ...otential-memory-leak-when-calling-set_init_.patch | 20 --------------------
 debian/patches/series                                |  1 -
 3 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6855dca..17abea9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ engine-pkcs11 (0.2.1-1) unstable; urgency=medium
   * New upstream release.
   * debian/control: Update Vcs-* fields to https.
   * debian/watch: Update signature extension to .asc.
+  *
+    debian/patches/0001-Prevent-potential-memory-leak-when-calling-set_init_.patch:
+    Drop upstreamed memory leak patch.
 
  -- Eric Dorland <eric at debian.org>  Sun, 31 Jan 2016 01:24:10 -0500
 
diff --git a/debian/patches/0001-Prevent-potential-memory-leak-when-calling-set_init_.patch b/debian/patches/0001-Prevent-potential-memory-leak-when-calling-set_init_.patch
deleted file mode 100644
index c836492..0000000
--- a/debian/patches/0001-Prevent-potential-memory-leak-when-calling-set_init_.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From: Persmule <persmule at gmail.com>
-Date: Fri, 16 Oct 2015 17:11:52 +0800
-Subject: * Prevent potential memory leak when calling set_init_args.
-
----
- src/engine_pkcs11.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/engine_pkcs11.c b/src/engine_pkcs11.c
-index 9e13a0c..4e07e5d 100644
---- a/src/engine_pkcs11.c
-+++ b/src/engine_pkcs11.c
-@@ -158,6 +158,7 @@ static int get_pin(UI_METHOD * ui_method, void *callback_data)
- 
- int set_init_args(const char *init_args_orig)
- {
-+	free(init_args);
- 	init_args = init_args_orig ? strdup(init_args_orig) : NULL;
- 	return 1;
- }
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index b3dfbad..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-0001-Prevent-potential-memory-leak-when-calling-set_init_.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/engine-pkcs11.git



More information about the pkg-opensc-commit mailing list