From: Christian Pointner Date: Wed, 6 Jan 2010 17:35:04 +0000 (+0000) Subject: maybe fixed possible memory leak X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=55aaf5e626569488c4efa8b6e891dd6cfcc2ff32;p=svn42.git maybe fixed possible memory leak --- 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; }