Patch the Patch:
diff -r degas-old/lib/libggi/display/vcsa/visual.c
degas/lib/libggi/display/vcsa/visual.c
103a104,114
> priv = LIBGGI_PRIVATE(vis) = malloc(sizeof(ggi_vcsa_priv));
> if(priv == NULL)
> return GGI_ENOMEM;
>
> LIBGGI_GC(vis) = malloc(sizeof(ggi_gc));
> if(priv == NULL){ <--------- if( LIBGGI_GC(vis) == NULL )
> free(priv);
> return GGI_ENOMEM;
> }
CU Martin
- Re: ggi_malloc and friends [PATCH] Lee
- Re: ggi_malloc and friends [PATCH] Stefan Seefeld
- Re: ggi_malloc and friends [PATCH] Lee Brown
- Re: ggi_malloc and friends [PATCH] Martin Schulze
- Re: ggi_malloc and friends [PATCH] Christoph Egger
- Re: ggi_malloc and friends [PATCH] Lee Brown
- Re: ggi_malloc and friends [PATCH] Andreas Beck
- Re: ggi_malloc and friends [PATCH] Marcus Sundberg
- Re: ggi_malloc and friends [PATCH] Lee Brown
