libauthsrv: authdial smprint() out of memory autism
This commit is contained in:
parent
6540a9a21a
commit
d5a81af7be
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ authdial(char *netroot, char *dom)
|
|||
*/
|
||||
if(p == nil) {
|
||||
p = smprint("p9auth.%s", dom);
|
||||
if(p == nil)
|
||||
return -1;
|
||||
t = ndbnew("auth", p);
|
||||
}
|
||||
free(p);
|
||||
|
|
Loading…
Reference in a new issue