From: Jean-Philippe Orsini Date: Mon, 4 Aug 2014 07:42:57 +0000 (+0200) Subject: Fixed FTBFS with clang instead of gcc. (Closes: #753061). X-Git-Tag: v1.0.3~2 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=946d066b9a279dc254135ab1ac6158593532a12d Fixed FTBFS with clang instead of gcc. (Closes: #753061). --- 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);