Ticket #2077: 2077-src-widget.c-seems-missing-g_free-kill_buffer.patch

File 2077-src-widget.c-seems-missing-g_free-kill_buffer.patch, 668 bytes (added by vit_r, 12 years ago)

src-widget.c-seems-missing-g_free-kill_buffer

  • src/widget.c

    From 47b064e47b4f003edc64b7a0bc69fc15577ce472 Mon Sep 17 00:00:00 2001
    From: Vit Rosin <vit_r@list.ru>
    Date: Tue, 2 Mar 2010 14:02:49 +0000
    Subject: [PATCH]  src/widget.c seems missing g_free kill_buffer
    
    ---
     src/widget.c |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/src/widget.c b/src/widget.c
    index 4df7a5a..c486768 100644
    a b static void draw_history_button (WInput * in) 
    985985 
    986986/* Input widgets now have a global kill ring */ 
    987987/* Pointer to killed data */ 
    988 static char *kill_buffer = 0; 
     988static char *kill_buffer = NULL; 
    989989 
    990990void 
    991991update_input (WInput *in, int clear_first)