Changeset 3440


Ignore:
Timestamp:
May 12, 2009, 1:09:34 PM (11 years ago)
Author:
Pascal Terjan
Message:
  • Fix a huge leak I had just introduced
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/main.c

    r3438 r3440  
    159159        ssize_t n;
    160160        if(!screen_list) goto end;
    161         buf = malloc(NEERCS_RECV_BUFSIZE);
     161        if(!buf)
     162            buf = malloc(NEERCS_RECV_BUFSIZE);
    162163        if(!buf)
    163164        {
Note: See TracChangeset for help on using the changeset viewer.