Remove extra free() that lead to a double free. CID 10546.

This commit is contained in:
Michael Lotz 2011-12-12 03:34:56 +01:00
parent c11c724e25
commit 85819ae108

View File

@ -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);