Fixed FTBFS with clang instead of gcc. (Closes: #753061).
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 4 Aug 2014 07:42:57 +0000 (09:42 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 4 Aug 2014 07:42:57 +0000 (09:42 +0200)
NEWS
NEWS.html
src/pxdg.c

diff --git a/NEWS b/NEWS
index 995a86f..6d93650 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ v1.0.3
 * Fixed few swedish translations (Josef Andersson).
 * Fixed psensor does not start: Attempt to unlock mutex that was not
   locked during startup with glib 2.41.2. (LP: #1346299).
+* Fixed FTBFS with clang instead of gcc. (Closes: #753061).
 
 v1.0.2
 ------
index 5ab4633..780a0ea 100644 (file)
--- a/NEWS.html
+++ b/NEWS.html
@@ -401,6 +401,11 @@ Fixed psensor does not start: Attempt to unlock mutex that was not
   locked during startup with glib 2.41.2. (LP: #1346299).\r
 </p>\r
 </li>\r
+<li>\r
+<p>\r
+Fixed FTBFS with clang instead of gcc. (Closes: #753061).\r
+</p>\r
+</li>\r
 </ul></div>\r
 </div>\r
 </div>\r
@@ -2644,7 +2649,7 @@ Fixed BR1: crash when no temperature sensor is available
 <div id="footnotes"><hr /></div>\r
 <div id="footer">\r
 <div id="footer-text">\r
-Last updated 2014-08-04 09:17:26 CEST\r
+Last updated 2014-08-04 09:42:17 CEST\r
 </div>\r
 </div>\r
 </body>\r
index ff6f9ed..aa61e03 100644 (file)
@@ -123,8 +123,8 @@ int pxdg_is_autostarted()
                                ret = is_user_desktop_autostarted(kfile);
                        else
                                ret = -1;
+                       g_key_file_free(kfile);
                }
-               g_key_file_free(kfile);
        }
 
        free(user_desktop);