projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c136130
)
fix malloc() bug
author
Robert Manea
<gotmor@gmail.com>
Fri, 24 Jul 2009 15:21:54 +0000
(17:21 +0200)
committer
Robert Manea
<gotmor@gmail.com>
Fri, 24 Jul 2009 15:21:54 +0000
(17:21 +0200)
uzbl.c
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
765a5de
..
db14966
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-1744,6
+1744,7
@@
set_var_value(gchar *name, gchar *val) {
c->func = NULL;
c->writeable = 1;
buf = expand(val, 0);
+ c->ptr = malloc(sizeof(char *));
*c->ptr = buf;
g_hash_table_insert(uzbl.comm.proto_var,
g_strdup(name), (gpointer) c);