From 946d066b9a279dc254135ab1ac6158593532a12d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Mon, 4 Aug 2014 09:42:57 +0200 Subject: [PATCH] Fixed FTBFS with clang instead of gcc. (Closes: #753061). --- NEWS | 1 + NEWS.html | 7 ++++++- src/pxdg.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 995a86f..6d93650 100644 --- 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 ------ diff --git a/NEWS.html b/NEWS.html index 5ab4633..780a0ea 100644 --- 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).

+
  • +

    +Fixed FTBFS with clang instead of gcc. (Closes: #753061). +

    +
  • @@ -2644,7 +2649,7 @@ Fixed BR1: crash when no temperature sensor is available

    diff --git a/src/pxdg.c b/src/pxdg.c index ff6f9ed..aa61e03 100644 --- a/src/pxdg.c +++ b/src/pxdg.c @@ -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); -- 2.7.4