[recipes] We must not free name and description
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] We must not free name and description
- Date: Tue, 13 Dec 2016 13:52:40 +0000 (UTC)
commit ca34e010c42c315a6a9d9ff1ec08c4ac8a57f98a
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Dec 13 08:50:04 2016 -0500
We must not free name and description
That is bad!
src/gr-recipe-exporter.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gr-recipe-exporter.c b/src/gr-recipe-exporter.c
index 8ffa285..84c8434 100644
--- a/src/gr-recipe-exporter.c
+++ b/src/gr-recipe-exporter.c
@@ -284,8 +284,6 @@ prepare_export (GrRecipeExporter *exporter,
}
g_clear_pointer (&path, g_free);
- g_clear_pointer (&name, g_free);
- g_clear_pointer (&description, g_free);
g_clear_pointer (&keyfile, g_key_file_unref);
path = g_build_filename (exporter->dir, "chefs.db", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]