summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/caja-python.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/caja-python.c b/src/caja-python.c
index f0aa55c..f28a74c 100644
--- a/src/caja-python.c
+++ b/src/caja-python.c
@@ -172,6 +172,7 @@ caja_python_load_dir (GTypeModule *module,
{
g_warning("caja_python_init_python failed");
g_dir_close(dir);
+ g_free(modulename);
break;
}
@@ -182,6 +183,7 @@ caja_python_load_dir (GTypeModule *module,
Py_DECREF(py_path);
}
caja_python_load_file(module, modulename);
+ g_free(modulename);
}
}
}