zsh-workers
 help / color / mirror / code / Atom feed
* bindkey fix
@ 1996-08-06  8:25 Peter Stephenson
  0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 1996-08-06  8:25 UTC (permalink / raw)
  To: Zsh hackers list


% bindkey -s '\C-z' 'suspend\n'
attempt to free more than allocated.

*** Src/zle_main.c.str	Tue Aug  6 10:22:22 1996
--- Src/zle_main.c	Tue Aug  6 10:22:29 1996
***************
*** 1082,1088 ****
  
      zsfree(k->nam);
      if (k->str)
! 	zsfree(k->str);
      zfree(k, sizeof(struct key));
  }
  
--- 1082,1088 ----
  
      zsfree(k->nam);
      if (k->str)
! 	zfree(k->str, k->len);
      zfree(k, sizeof(struct key));
  }
  

-- 
Peter Stephenson <pws@ifh.de>       Tel: +49 33762 77366
WWW:  http://www.ifh.de/~pws/       Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-08-06  8:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-06  8:25 bindkey fix Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).