On Mon, Apr 28, 2014 at 06:44:08PM +, Bryce W. Harrington wrote:
> This ensures the allocation results are checked for NULL (out of
> memory), and terminates the program in such a case.
>
> Signed-off-by: Bryce Harrington
Applied, thanks.
Kristian
> ---
> clients/terminal.c |6 +++---
On Tue, 29 Apr 2014 14:35:21 +0200
Michael Schellenberger Costa wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi all,
>
> i might be dumb again, but as zalloc is a one line function, why not
> just add the check to zalloc instead of searching for all uses of it?
Function naming
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all,
i might be dumb again, but as zalloc is a one line function, why not
just add the check to zalloc instead of searching for all uses of it?
Would there be any use case where one would not check for out of memory?
best wishes
Michael
On 29.0
On Mon, 28 Apr 2014 18:44:08 +
"Bryce W. Harrington" wrote:
> This ensures the allocation results are checked for NULL (out of
> memory), and terminates the program in such a case.
>
> Signed-off-by: Bryce Harrington
> ---
> clients/terminal.c |6 +++---
> 1 file changed, 3 insertions(
This ensures the allocation results are checked for NULL (out of
memory), and terminates the program in such a case.
Signed-off-by: Bryce Harrington
---
clients/terminal.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/clients/terminal.c b/clients/terminal.c
index 5