diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-01-05 11:18:50 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-01-05 11:18:50 +0100 |
commit | b43b4531002dacecd5127ab3acdcef8373052ef7 (patch) | |
tree | 1dc64479acfaea048e93b6238e64bd872a5baa93 /src | |
parent | 35598bc2d9a41ddaabded5f21e0ec92f001c5a1b (diff) | |
download | eina_graph-b43b4531002dacecd5127ab3acdcef8373052ef7.zip eina_graph-b43b4531002dacecd5127ab3acdcef8373052ef7.tar.gz |
fix mem leak in BFS eina_list usage
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/eina_graph_bfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eina_graph_bfs.c b/src/lib/eina_graph_bfs.c index 80f6be7..651695f 100644 --- a/src/lib/eina_graph_bfs.c +++ b/src/lib/eina_graph_bfs.c @@ -71,6 +71,8 @@ _eina_graph_bfs_fwalk(_Eina_Graph *_g, _Eina_Graph_BFS *_bfs, unsigned int v) } } } + + eina_list_free(fifo); } EAPI Eina_Graph_BFS * |