projects
/
uzbl-mobile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove unnecessary check
[uzbl-mobile]
/
uzbl.c
diff --git
a/uzbl.c
b/uzbl.c
index
e35218e
..
9db9263
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-1710,7
+1710,7
@@
set_var_value(gchar *name, gchar *val) {
/* check for the variable type */
if (c->type == TYPE_STR) {
buf = expand(val, 0);
- if(*c->ptr) g_free(*c->ptr);
+ g_free(*c->ptr);
*c->ptr = buf;
} else if(c->type == TYPE_INT) {
int *ip = (int *)c->ptr;