From 55aaf5e626569488c4efa8b6e891dd6cfcc2ff32 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 6 Jan 2010 17:35:04 +0000 Subject: [PATCH] maybe fixed possible memory leak --- mifare-read/mifare-read.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mifare-read/mifare-read.c b/mifare-read/mifare-read.c index 80cb57e..0acf1bb 100644 --- a/mifare-read/mifare-read.c +++ b/mifare-read/mifare-read.c @@ -54,6 +54,7 @@ int l2_init(int layer2) rc = rfid_layer2_open(l2h); if (rc < 0) { // fprintf(stderr, "error during layer2_open\n"); + rfid_layer2_fini(l2h); return rc; } -- 1.7.10.4