From: Jean-Philippe Orsini Date: Mon, 4 Aug 2014 07:50:57 +0000 (+0200) Subject: Fixed FTBFS with clang instead of gcc. (Closes: #753061). X-Git-Tag: v1.1.1~32 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=04db0d226d48cb3b0df79745af3260be0279267b Fixed FTBFS with clang instead of gcc. (Closes: #753061). --- diff --git a/NEWS b/NEWS index a3747e6..a92d0d4 100644 --- a/NEWS +++ b/NEWS @@ -21,6 +21,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 85c566f..6f5744c 100644 --- a/NEWS.html +++ b/NEWS.html @@ -436,6 +436,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). +

    +
  • @@ -2679,7 +2684,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);