[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH (speechd) 2/4] Insure that memory is freed in get_reply, from lib
From: |
Luke Yelavich |
Subject: |
[PATCH (speechd) 2/4] Insure that memory is freed in get_reply, from libspeechd.c. |
Date: |
Wed, 24 Feb 2010 15:37:08 +1100 |
On Sat, Feb 20, 2010 at 02:50:10AM EST, Christopher Brannon wrote:
> These are the same problems we had with a function in src/server/output.c.
> getline was allocating memory on every function call,
> but the memory wasn't freed.
> Also, it was possible for get_reply to leak memory in case of errors.
Applied, thanks.
Luke