projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54d3ae2
)
Fixed released of the ref to GtkApp
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Thu, 13 Sep 2012 13:21:24 +0000
(13:21 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Thu, 13 Sep 2012 13:21:24 +0000
(13:21 +0000)
Removed memory of the url var to make cppcheck happy
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
91b7b1e
..
80e912e
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-622,11
+622,14
@@
int main(int argc, char **argv)
/* main loop */
gtk_main();
- g_object_ref(app);
+ g_object_
un
ref(app);
cleanup(&ui);
log_debug("Quitting...");
log_close();
+ if (url)
+ free(url);
+
return 0;
}