[gnome-builder/wip/greeter] autotools: add missing strdup in previous commit



commit 46c937b2faf3b3ddbe02768efb9da22036c42e83
Author: Christian Hergert <christian hergert me>
Date:   Sun May 10 11:22:20 2015 -0700

    autotools: add missing strdup in previous commit

 libide/autotools/ide-autotools-project-miner.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/autotools/ide-autotools-project-miner.c b/libide/autotools/ide-autotools-project-miner.c
index 7362d6f..3360946 100644
--- a/libide/autotools/ide-autotools-project-miner.c
+++ b/libide/autotools/ide-autotools-project-miner.c
@@ -67,7 +67,7 @@ ide_autotools_project_miner_find_doap (IdeAutotoolsProjectMiner *self,
     {
       g_autofree gchar *name = NULL;
 
-      name = g_file_info_get_name (file_info);
+      name = g_strdup (g_file_info_get_name (file_info));
 
       g_clear_object (&file_info);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]