projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e5028d
)
nfctype2: Remove not needed NULL assignment
author
Szymon Janc
<szymon.janc@tieto.com>
Thu, 10 Oct 2013 07:46:11 +0000
(09:46 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 11 Oct 2013 15:05:13 +0000
(17:05 +0200)
cookie is local pointer so there is no need to NULL it when memory
gets released.
plugins/nfctype2.c
patch
|
blob
|
history
diff --git
a/plugins/nfctype2.c
b/plugins/nfctype2.c
index
1212882
..
92105d5
100644
(file)
--- 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;
}