Commit 85aa9db7 authored by Christian Hergert's avatar Christian Hergert
Browse files

clang: plug leak of filename when indexing

parent e8a09c74
......@@ -71,7 +71,7 @@ visitor (CXCursor cursor,
enum CXCursorKind cursor_kind;
CXSourceLocation location;
CXFile file;
CXString cx_file_name;
g_auto(CXString) cx_file_name = {0};
const char *file_name;
CXCursor *child_cursor;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment