Changeset 2595 for neercs


Ignore:
Timestamp:
Jul 27, 2008, 8:58:12 PM (12 years ago)
Author:
Pascal Terjan
Message:
  • But don't leak
File:
1 edited

Legend:

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

    r2594 r2595  
    325325    {
    326326        pid_t pid;
     327        char * sess;
    327328
    328329        pid = fork();
     
    358359        }
    359360        create_client_socket(screen_list);
    360         while(!connect_server(screen_list))
     361        while((sess = connect_server(screen_list)) == NULL)
    361362            usleep(100);
     363        free(sess);
    362364
    363365        /* Create main canvas and associated caca window */
Note: See TracChangeset for help on using the changeset viewer.