summaryrefslogtreecommitdiff
path: root/battstat
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-07-08 00:23:31 +0200
committerraveit65 <[email protected]>2020-07-29 16:46:12 +0200
commitc21608d996e5f35c110de650b1c40f493ff6088b (patch)
treec488942665873a91657b8d130d9dbf0b70e51ea9 /battstat
parente2e7209497601eec0523204ba90953f428a69c15 (diff)
downloadmate-applets-c21608d996e5f35c110de650b1c40f493ff6088b.tar.bz2
mate-applets-c21608d996e5f35c110de650b1c40f493ff6088b.tar.xz
battstat: Free only dynamically allocated memory
Diffstat (limited to 'battstat')
-rw-r--r--battstat/battstat-upower.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/battstat/battstat-upower.c b/battstat/battstat-upower.c
index 042d6098..2a3c6541 100644
--- a/battstat/battstat-upower.c
+++ b/battstat/battstat-upower.c
@@ -102,7 +102,7 @@ error_shutdownclient:
upc = NULL;
error_out:
- return "Can not initialize upower";
+ return g_strdup ("Can not initialize upower");
}
void