gtk/gdk/loaders
Mosè Giordano 4c211f1872 gdkjpeg: include stdlib.h necessary for free
`free` is defined in `stdlib.h`, see for example
<https://pubs.opengroup.org/onlinepubs/009604499/functions/free.html>.  Without
this include compilation can fail with the following error:

```
../gdk/loaders/gdkjpeg.c: In function ‘gdk_save_jpeg’:
../gdk/loaders/gdkjpeg.c:264:7: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
       free (data);
       ^
../gdk/loaders/gdkjpeg.c:264:7: warning: incompatible implicit declaration of built-in function ‘free’
../gdk/loaders/gdkjpeg.c:264:7: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
../gdk/loaders/gdkjpeg.c:302:67: error: ‘free’ undeclared (first use in this function)
   return g_bytes_new_with_free_func (data, size, (GDestroyNotify) free, NULL);
                                                                   ^
../gdk/loaders/gdkjpeg.c:302:67: note: each undeclared identifier is reported only once for each function it appears in
../gdk/loaders/gdkjpeg.c:303:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
```
2022-02-06 15:41:33 +00:00
..
gdkjpeg.c gdkjpeg: include stdlib.h necessary for free 2022-02-06 15:41:33 +00:00
gdkjpegprivate.h Add code to save jpegs 2021-09-17 02:02:51 +02:00
gdkpng.c png: Correct endianness for big-endian machines 2022-01-08 17:09:29 +00:00
gdkpngprivate.h texture: Split out type detection 2021-09-17 00:25:22 +02:00
gdktiff.c tiff loader: Catch more errors 2021-12-13 17:54:11 -05:00
gdktiffprivate.h texture: Split out type detection 2021-09-17 00:25:22 +02:00