rpc: serverclient: Clear pointer with NULL instead of 0

This commit is contained in:
Peter Krempa 2015-03-25 08:11:12 +01:00
parent a5bf06ba34
commit 6c7bdcb1cd

View File

@ -721,7 +721,7 @@ virNetServerClientCreateIdentity(virNetServerClientPtr client)
error:
virObjectUnref(ret);
ret = 0;
ret = NULL;
goto cleanup;
}