git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
181cd32
)
Fix a memleak in nss_wins
author
Volker Lendecke
<vl@samba.org>
Tue, 28 Dec 2010 16:08:57 +0000
(17:08 +0100)
committer
Volker Lendecke
<vl@samba.org>
Tue, 28 Dec 2010 16:11:34 +0000
(17:11 +0100)
nsswitch/wins.c
patch
|
blob
|
history
diff --git
a/nsswitch/wins.c
b/nsswitch/wins.c
index 276724dc36f5c90aa062be731b2404e83f448499..7a49565f2dde61cd28e8c7413933e852d1b9b33c 100644
(file)
--- a/
nsswitch/wins.c
+++ b/
nsswitch/wins.c
@@
-152,6
+152,7
@@
static struct in_addr *lookup_byname_backend(const char *name, int *count)
return NULL;
}
*ret = ((struct sockaddr_in *)pss)->sin_addr;
+ SAFE_FREE(pss);
break;
}
}