Be a bit more robust in the face of out-of-memory errors.
authorDan Fandrich <dan@coneharvesters.com>
Mon, 5 Nov 2018 23:53:56 +0000 (00:53 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 6 Nov 2018 00:03:49 +0000 (01:03 +0100)
commit1a29e47897a8e4d8da14ec408e520ff942755830
treea554da988987710110036290ec8245322f7cb4ea
parenta7902ff2796aad9c999b78277514987ded874a9e
Be a bit more robust in the face of out-of-memory errors.

Do a better job in leaving things in a more consistent state after an
allocation failure. Also, make the tests report and handle OOM
conditions cleanly.
libexif/exif-data.c
libexif/exif-entry.c
test/test-mem.c
test/test-mnote.c
test/test-parse.c
test/test-value.c