fixing memory leak in nfs41_client_create
This commit is contained in:
parent
cac63b1f37
commit
50350df66f
1 changed files with 1 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ int nfs41_client_create(
|
||||||
if (client->cond == NULL) {
|
if (client->cond == NULL) {
|
||||||
status = GetLastError();
|
status = GetLastError();
|
||||||
eprintf("CreateEvent failed %d\n", status);
|
eprintf("CreateEvent failed %d\n", status);
|
||||||
|
free(client);
|
||||||
goto out_err_rpc;
|
goto out_err_rpc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue