we could get occasional failures in the samba4.nbt.dgram test if we
happened to get a collision in the random mailslot names.
Thanks to Jeremy for spotting this! (his autobuild failed)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
if (name == NULL) return NULL;
if (dgram_mailslot_find(dgmsock, name)) {
talloc_free(name);
if (name == NULL) return NULL;
if (dgram_mailslot_find(dgmsock, name)) {
talloc_free(name);
}
dgmslot = dgram_mailslot_listen(dgmsock, name, handler, private_data);
talloc_free(name);
}
dgmslot = dgram_mailslot_listen(dgmsock, name, handler, private_data);
talloc_free(name);