nfctype1: Refactor nfctype1_read
authorWiktor Lawski <wiktor.lawski@tieto.com>
Wed, 19 Sep 2012 13:20:45 +0000 (15:20 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 21 Sep 2012 07:20:55 +0000 (09:20 +0200)
commitf47256f11a2576fe81f5dc6de563b717e4a930de
tree719506ff318ba2c5974a95abb8e50eaa759f25e9
parentff2553027cb10a62978bc8293828929b12aeb4bb
nfctype1: Refactor nfctype1_read

Created helper function nfctype1_read_meta to improve readability, avoid code
duplication and memory leaks in case of errors.
plugins/nfctype1.c