diff options
Diffstat (limited to 'pmdb.c')
-rw-r--r-- | pmdb.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -570,6 +570,8 @@ PushRequestorQueue ( newreq->authName = (char *) malloc (strlen (authName) + 1); newreq->authData = (char *) malloc (authLen); } + else + newreq->authName = newreq->authData = NULL; if (!newreq->serviceName || !newreq->serverAddress || @@ -602,10 +604,6 @@ PushRequestorQueue ( strcpy (newreq->authName, authName); memcpy (newreq->authData, authData, authLen); } - else - { - newreq->authName = newreq->authData = NULL; - } newreq->requestor = requestor; newreq->listData = (char *) runList; |