[anjuta] language-support-cpp-java: Small memory leak
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] language-support-cpp-java: Small memory leak
- Date: Sun, 12 Feb 2012 20:23:24 +0000 (UTC)
commit f2d600e19184624561ee74b7499cdecc2de9f264
Author: Johannes Schmid <jhs gnome org>
Date: Sun Feb 12 21:22:24 2012 +0100
language-support-cpp-java: Small memory leak
plugins/language-support-cpp-java/plugin.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/language-support-cpp-java/plugin.c b/plugins/language-support-cpp-java/plugin.c
index 84ac0b0..9aa6758 100644
--- a/plugins/language-support-cpp-java/plugin.c
+++ b/plugins/language-support-cpp-java/plugin.c
@@ -372,6 +372,7 @@ init_file_type (CppJavaPlugin* lang_plugin)
lang_plugin->filetype = LS_FILE_CPPHDR;
else
lang_plugin->filetype = LS_FILE_OTHER;
+ g_free (mime_type);
return;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]