aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-11 10:13:17 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-11 10:13:17 +1000
commit20c83ba605183e1a597bf790be1d1d0f06d2651f (patch)
tree09e989c55d6bdf40dbe5d8cbcb4694cbbcf2a3c7 /complete.c
parente9e32f980bb906994ed8bc1aa26f97fb3df19eec (diff)
Optimize the halloc implementation so that mutiple calls to halloc can be satisfied by a single malloc, also add wcsdup and wcsndup workalikes using halloc
darcs-hash:20060211001317-ac50b-c9cf234c334b4d697fe1251c21013c8ec7f7b0a1.gz
Diffstat (limited to 'complete.c')
-rw-r--r--complete.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/complete.c b/complete.c
index a2a73233..c6e218ea 100644
--- a/complete.c
+++ b/complete.c
@@ -380,7 +380,6 @@ void complete_add( const wchar_t *cmd,
if( !(c = malloc( sizeof(complete_entry) )))
die_mem();
-
c->next = first_entry;
first_entry = c;