]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Fix memory leak on ibv_fork_init() error path
authorDotan Barak <dotanb@mellanox.co.il>
Mon, 19 Mar 2007 20:01:26 +0000 (13:01 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 19 Mar 2007 20:02:28 +0000 (13:02 -0700)
commit05d8884b025e8d7d6dc25b9e89a94a67b30cf192
tree1aa83ec594409ad5c13eaa6a9ccc09a7b1ff4335
parent34030a52fed2ffc38167083c1286cc71d4f1e1d5
Fix memory leak on ibv_fork_init() error path

Free test buffer so we don't leak memory when madvise() fails.

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
src/memory.c