Remove extra free() that lead to a double free. CID 10546.
This commit is contained in:
parent
c11c724e25
commit
85819ae108
@ -346,8 +346,6 @@ send_rpc_call(fs_nspace *ns, const struct sockaddr_in *addr, int32 prog,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
free(pending->buffer);
|
|
||||||
|
|
||||||
/* mmu_man */
|
/* mmu_man */
|
||||||
if (call) /* if the call has been found and removed (atomic op), the sem hasn't been released */
|
if (call) /* if the call has been found and removed (atomic op), the sem hasn't been released */
|
||||||
SemaphorePoolPut(&ns->pendingCalls.fPool, pending->sem);
|
SemaphorePoolPut(&ns->pendingCalls.fPool, pending->sem);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user