projects
/
platform
/
upstream
/
avahi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d04f36
)
There is no need to test a pointer to be freed for being NULL. free() does this anywa...
author
Lennart Poettering
<lennart@poettering.net>
Thu, 11 Aug 2005 20:01:39 +0000
(20:01 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Thu, 11 Aug 2005 20:01:39 +0000
(20:01 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@295
941a03a8
-eaeb-0310-b9a0-
b1bbd8fe43fe
avahi-client/client.c
patch
|
blob
|
history
diff --git
a/avahi-client/client.c
b/avahi-client/client.c
index
49ace50
..
2ef1bf6
100644
(file)
--- a/
avahi-client/client.c
+++ b/
avahi-client/client.c
@@
-264,7
+264,7
@@
avahi_client_new (AvahiClientCallback callback, void *user_data)
return tmp;
fail:
-
if (tmp)
free (tmp);
+ free (tmp);
return NULL;
}