• Federico Mena Quintero's avatar
    Set the initial ref_count to 1. · 66779b9b
    Federico Mena Quintero authored
    1999-09-17  Federico Mena Quintero  <federico@redhat.com>
    
    	* src/io-bmp.c (image_load): Set the initial ref_count to 1.
    
    	* src/io-gif.c (image_load): Likewise.
    
    	* src/io-jpeg.c (image_load): Likewise.
    
    	* src/io-png.c (image_load): Likewise.
    
    	* src/io-tiff.c (image_load): Likewise.
    
    	* src/io-xpm.c (_pixbuf_create_from_xpm): Likewise.
    
    	* src/gdk-pixbuf-io.c (gdk_pixbuf_load_image): Added an assertion
    	for the ref_count to be != 0.
    66779b9b
io-bmp.c 1.56 KB