aboutsummaryrefslogtreecommitdiff
path: root/modules/computer/uptime.c
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@ubuntu.com>2017-11-25 13:35:48 -0600
committerSimon Quigley <tsimonq2@ubuntu.com>2017-11-25 13:35:48 -0600
commit628a525ae2961f0461172613a0675dab6754c65e (patch)
tree9c16631a75cf703771196cabf274ee9eef9723d8 /modules/computer/uptime.c
parentab16195359ad146263dbd7b5ea2d94316caee627 (diff)
parent11e616945340e87a1f567ab92e6dfac3068875b1 (diff)
Update upstream source from tag 'upstream/0.5.1+git20171103'
Update to upstream version '0.5.1+git20171103' with Debian dir 12de6f1245697675c1d76dc1085c08844d715cb0
Diffstat (limited to 'modules/computer/uptime.c')
-rw-r--r--modules/computer/uptime.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/computer/uptime.c b/modules/computer/uptime.c
index 5f0f1942..6ef3d250 100644
--- a/modules/computer/uptime.c
+++ b/modules/computer/uptime.c
@@ -30,6 +30,7 @@ computer_get_uptime(void)
ui->minutes = minutes / 60;
fclose(procuptime);
} else {
+ g_free(ui);
return NULL;
}