s3: Follow the TALLOC_FREE convention in source3
authorVolker Lendecke <vl@samba.org>
Wed, 6 Jul 2011 07:39:08 +0000 (09:39 +0200)
committerVolker Lendecke <vlendec@samba.org>
Wed, 6 Jul 2011 09:01:05 +0000 (11:01 +0200)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jul  6 11:01:05 CEST 2011 on sn-devel-104

source3/lib/util_sock.c

index 5154a83fecf05fa57733cf326a18eae8e0d93191..867646bc5038f86410500b4dae39c1391639c8cc 100644 (file)
@@ -1205,7 +1205,7 @@ int get_remote_hostname(const struct tsocket_address *remote_address,
                         gai_strerror(rc)));
                strlcpy(name_buf, p, sizeof(name_buf));
 
-               talloc_free(p);
+               TALLOC_FREE(p);
        } else {
                if (!matchname(name_buf, (struct sockaddr *)&ss, len)) {
                        DEBUG(0,("matchname failed on %s\n", name_buf));