summaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
authorDenis Vlasenko2009-04-06 12:28:34 +0000
committerDenis Vlasenko2009-04-06 12:28:34 +0000
commit5e883fb00d50308779570392b1342ac1b6505f56 (patch)
treed0cc4c1bae72d780eddddf211e0aa99b0be796ae /shell/hush.c
parentb1d11bf45ec55d469f47c1341d593fdae790bb6a (diff)
downloadbusybox-5e883fb00d50308779570392b1342ac1b6505f56.zip
busybox-5e883fb00d50308779570392b1342ac1b6505f56.tar.gz
hush: micro-optimization. -37 bytes
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index e86f0d2..7e6d356 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -1799,7 +1799,7 @@ static int expand_vars_to_list(o_string *output, int n, char *arg, char or_mask)
//bb_error_msg("'%s' -> '%s'", arg, dest.data);
exp_str = expand_string_to_string(dest.data);
//bb_error_msg("'%s' -> '%s'", dest.data, exp_str);
- o_free(&dest);
+ o_free_unsafe(&dest);
}
hooks.lookupvar = get_local_var_value;
hooks.setvar = arith_set_local_var;