Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 465714 | Differences between
and this patch

Collapse All | Expand All

(-)libgdiplus-2.10.9.old/src/gifcodec.c (+12 lines)
Lines 899-905 Link Here
899
#else
899
#else
900
	FreeExtensionMono(&global_extensions);
900
	FreeExtensionMono(&global_extensions);
901
#endif
901
#endif
902
#if GIFLIB_MAJOR > 5 || (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1)
903
	DGifCloseFile (gif, NULL);
904
#else
902
	DGifCloseFile (gif);
905
	DGifCloseFile (gif);
906
#endif
903
907
904
	*image = result;
908
	*image = result;
905
	return Ok;
909
	return Ok;
Lines 919-925 Link Here
919
#else
923
#else
920
		FreeExtensionMono (&global_extensions);
924
		FreeExtensionMono (&global_extensions);
921
#endif
925
#endif
926
#if GIFLIB_MAJOR > 5 || (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1)
927
		DGifCloseFile (gif, NULL);
928
#else
922
		DGifCloseFile (gif);
929
		DGifCloseFile (gif);
930
#endif
923
	}
931
	}
924
932
925
	*image = NULL;
933
	*image = NULL;
Lines 1260-1266 Link Here
1260
		}
1268
		}
1261
	}
1269
	}
1262
1270
1271
#if GIFLIB_MAJOR > 5 || (GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1)
1272
	EGifCloseFile (fp, NULL);
1273
#else
1263
	EGifCloseFile (fp);	
1274
	EGifCloseFile (fp);	
1275
#endif
1264
	
1276
	
1265
	return Ok;
1277
	return Ok;
1266
1278

Return to bug 465714