diff options
author | Dimitri Staessens <[email protected]> | 2017-11-15 11:27:53 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-11-15 11:40:30 +0100 |
commit | 197fb8504c51df4fdf0e7837b11d1aed2872e2da (patch) | |
tree | 4fe1c4ce191d7a10d1ab08b8ef7e885821dda6a1 /src/lib/tests/rq_test.c | |
parent | 91cbb32d3122dc9a63a5fdfc09d7c8822f95ddf6 (diff) | |
download | ouroboros-197fb8504c51df4fdf0e7837b11d1aed2872e2da.tar.gz ouroboros-197fb8504c51df4fdf0e7837b11d1aed2872e2da.zip |
ipcpd: Reset *dist on graph_routing_table fail
The *dist pointer was not reset on failure, causing the caller to try
to free an unmalloced or already freed pointer.
Reported-by: Nick Aerts <[email protected]>
Tested-by: Nick Aerts <[email protected]>
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/lib/tests/rq_test.c')
0 files changed, 0 insertions, 0 deletions