]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Fix some memory leaks in read_config() error path
authorDotan Barak <dotanb@mellanox.co.il>
Tue, 16 Jan 2007 20:26:39 +0000 (12:26 -0800)
committerRoland Dreier <rolandd@cisco.com>
Tue, 16 Jan 2007 20:26:39 +0000 (12:26 -0800)
commitd5a3825aca4520ed71d44c5d652f994960d42686
treef60a7ad8bd90dd0ab0a2afecfa2112152bdcb178
parentdd3d43d89e398f23c4824d26f2698446ff2d120f
Fix some memory leaks in read_config() error path

Don't leak path if stat() fails or file isn't a regular file.

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