1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00

r22811: two more memory allocation checks.

rafal
This commit is contained in:
Rafal Szczesniak
2007-05-11 21:51:53 +00:00
committed by Gerald (Jerry) Carter
parent 44eacd8654
commit d66b13f6fa
2 changed files with 4 additions and 1 deletions

View File

@@ -74,6 +74,8 @@ struct composite_context *libnet_Lookup_send(struct libnet_context *ctx,
/* parameters */
s->hostname.name = talloc_strdup(s, io->in.hostname);
if (composite_nomem(s->hostname.name, c)) return c;
s->hostname.type = io->in.type;
s->hostname.scope = NULL;