projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18182e7
)
Added missed g_string_free in vp_update_statusbar().
author
Daniel Carl
<danielcarl@gmx.de>
Thu, 1 Nov 2012 18:20:09 +0000
(19:20 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 10 Nov 2012 13:43:04 +0000
(14:43 +0100)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
4bb88c5
..
86fadeb
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-338,6
+338,7
@@
void vp_update_statusbar(void)
markup = g_markup_printf_escaped("<span font=\"%s\">%s</span>", vp.config.status_font, status->str);
gtk_label_set_markup(GTK_LABEL(vp.gui.statusbar.right), markup);
g_free(markup);
+ g_string_free(status, TRUE);
}
void vp_echo(const MessageType type, const char *error, ...)