aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/uzbl.c b/uzbl.c
index 665fe76..0835f51 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -289,9 +289,7 @@ expand(const char *s, guint recurse) {
}
assert(vend);
- ret = strndup(s, vend-s);
- if(!ret)
- abort();
+ ret = g_strndup(s, vend-s);
if(etype == EXP_SIMPLE_VAR ||
etype == EXP_BRACED_VAR) {