diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2013-10-10 09:46:11 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-10-11 17:05:13 +0200 |
commit | 4d0b607444a30cf45c882ea523486a77b2b99a04 (patch) | |
tree | aff0b3c28fec7f659880357c3ddd13c75fbc11eb | |
parent | 7e5028d7e663b8cf984f77d51857d47621561e0f (diff) | |
download | neard-4d0b607444a30cf45c882ea523486a77b2b99a04.tar.gz neard-4d0b607444a30cf45c882ea523486a77b2b99a04.tar.bz2 neard-4d0b607444a30cf45c882ea523486a77b2b99a04.zip |
nfctype2: Remove not needed NULL assignment
cookie is local pointer so there is no need to NULL it when memory
gets released.
-rw-r--r-- | plugins/nfctype2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/nfctype2.c b/plugins/nfctype2.c index 1212882..92105d5 100644 --- a/plugins/nfctype2.c +++ b/plugins/nfctype2.c @@ -122,7 +122,6 @@ static int t2_cookie_release(int err, void *data) g_free(cookie->ndef); g_free(cookie); - cookie = NULL; return err; } |