summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-01-05 11:18:50 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-01-05 11:18:50 +0100
commitb43b4531002dacecd5127ab3acdcef8373052ef7 (patch)
tree1dc64479acfaea048e93b6238e64bd872a5baa93 /src/lib
parent35598bc2d9a41ddaabded5f21e0ec92f001c5a1b (diff)
downloadeina_graph-b43b4531002dacecd5127ab3acdcef8373052ef7.zip
eina_graph-b43b4531002dacecd5127ab3acdcef8373052ef7.tar.gz
fix mem leak in BFS eina_list usage
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/eina_graph_bfs.c2
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 *