From 8ebb999b4ad7e01f1174f0943ea4240f4afbe5fd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 3 Apr 2010 15:03:49 +0200 Subject: libwbclient: Make wbcResolveWinsByIP not use talloc --- nsswitch/libwbclient/wbc_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nsswitch') diff --git a/nsswitch/libwbclient/wbc_util.c b/nsswitch/libwbclient/wbc_util.c index 38fd1c5559..35e0b0b316 100644 --- a/nsswitch/libwbclient/wbc_util.c +++ b/nsswitch/libwbclient/wbc_util.c @@ -260,7 +260,7 @@ wbcErr wbcResolveWinsByIP(const char *ip, char **name) /* Display response */ - name_str = talloc_strdup(NULL, response.data.winsresp); + name_str = wbcStrDup(response.data.winsresp); BAIL_ON_PTR_ERROR(name_str, wbc_status); *name = name_str; -- cgit