Ignore:
Timestamp:
Mar 9, 2006, 10:44:54 AM (14 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Changed way temporary buffer of ansi export was handled. Need to do that for other exporters as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_network.c

    r559 r560  
    168168    int size;
    169169    char *to_send = cucul_get_ansi(kk->qq, 0, &size);;
    170     to_send = realloc(to_send, kk->qq->width * kk->qq->height * 15 * 3);
     170 
    171171   
    172172    /* ANSI code for move(0,0)*/
     
    179179        perror("send");
    180180        return;
    181     }
    182    
    183     if(to_send) {
    184         free(to_send);
    185181    }
    186182
Note: See TracChangeset for help on using the changeset viewer.