diff options
author | Robert Manea <gotmor@gmail.com> | 2009-07-24 17:21:54 +0200 |
---|---|---|
committer | Robert Manea <gotmor@gmail.com> | 2009-07-24 17:21:54 +0200 |
commit | 0ac06c15123580ae5bba7b6d8c27158d33c38d53 (patch) | |
tree | 7208a6624e2f75683faa8e4fb3d4e83c684f7a81 /uzbl.c | |
parent | c136130c24e415460825b5e92ad49877b6615237 (diff) |
fix malloc() bug
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |