projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5879bda
)
Segfault fix
author
dusanx
<ef_dva@yahoo.com>
Tue, 28 Apr 2009 06:57:36 +0000
(08:57 +0200)
committer
dusanx
<ef_dva@yahoo.com>
Tue, 28 Apr 2009 06:57:36 +0000
(08:57 +0200)
uzbl.c
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
0bbcf73
..
8eefe84
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-206,7
+206,9
@@
static void
load_commit_cb (WebKitWebView* page, WebKitWebFrame* frame, gpointer data) {
(void) page;
(void) data;
- strcpy (uri, webkit_web_frame_get_uri (frame));
+ free (uri);
+ GString* newuri = g_string_new (webkit_web_frame_get_uri (frame));
+ uri = g_string_free (newuri, FALSE);
}
static void