<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40209 >

On 21/04/2008, Elmo Todurov  wrote:
>
>  Now I want a cookie!
>  $ svn diff
>  Index: server/sernet.c
>  ===================================================================
>  --- server/sernet.c     (revision 14605)
>  +++ server/sernet.c     (working copy)
>  @@ -185,6 +185,7 @@
>    line_internal = local_to_internal_string_malloc(line);
>    (void) handle_stdin_input(NULL, line_internal, FALSE);
>    free(line_internal);
>  +  free(line);
>
>    readline_handled_input = TRUE;
>   }

 Are you sure about this? Does readline really expect callback to free
the line? (and if it does, can it be bug in the specific readline
version you are using?)


 - ML



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to