projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a145e7
)
Don't free not allocated and not used variable
author
Klaus Ethgen
<Klaus@Ethgen.de>
Sun, 29 Dec 2019 09:23:35 +0000
(10:23 +0100)
committer
Klaus Ethgen
<Klaus@Ethgen.de>
Sun, 29 Dec 2019 09:23:35 +0000
(10:23 +0100)
src/lua.c
patch
|
blob
|
history
diff --git
a/src/lua.c
b/src/lua.c
index
6851926
..
f8603d8
100644
(file)
--- a/
src/lua.c
+++ b/
src/lua.c
@@
-267,7
+267,6
@@
gchar *lua_callvalue(FileData *fd, const gchar *file, const gchar *function)
{
gint result;
gchar *data = NULL;
- gchar *dir;
gchar *path;
FileData **image_data;
gchar *tmp;
@@
-312,7
+311,6
@@
gchar *lua_callvalue(FileData *fd, const gchar *file, const gchar *function)
{
result = luaL_dofile(L, path);
g_free(path);
- g_free(dir);
}
if (result)