zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@ifh.de>
To: zsh-workers@math.gatech.edu (Zsh hackers list)
Subject: bindkey fix
Date: Tue, 06 Aug 1996 10:25:11 +0200	[thread overview]
Message-ID: <199608060825.KAA17373@hydra.ifh.de> (raw)


% 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.


                 reply	other threads:[~1996-08-06  8:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199608060825.KAA17373@hydra.ifh.de \
    --to=pws@ifh.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).