diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-24 22:50:53 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-04-24 22:50:53 +0200 |
commit | a4d3023874779fe1e8aff5d32a729831eba3a294 (patch) | |
tree | 74d5bc383585a63bbcec06fa34cce9dd3b24364e | |
parent | d4413627e68325e954406e35c76b51325bb0e5d1 (diff) | |
download | xK-a4d3023874779fe1e8aff5d32a729831eba3a294.tar.gz xK-a4d3023874779fe1e8aff5d32a729831eba3a294.tar.xz xK-a4d3023874779fe1e8aff5d32a729831eba3a294.zip |
degesch: fix a double-free
-rw-r--r-- | degesch.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1151,6 +1151,7 @@ buffer_activate (struct app_context *ctx, struct buffer *buffer) rl_point = buffer->saved_point; rl_mark = buffer->saved_mark; free (buffer->saved_line); + buffer->saved_line = 0; if (ctx->readline_prompt_shown) rl_redisplay (); |