entry: Don't unlink empty files when saving @fix T2122.
authorAndy Williams <andy@andywilliams.me>
Wed, 18 Feb 2015 08:46:05 +0000 (08:46 +0000)
committerAndy Williams <andy@andywilliams.me>
Wed, 18 Feb 2015 08:47:24 +0000 (08:47 +0000)
commitcacdc8b7e7c72383ddc1dbba4d8b032dc8430992
tree62892d33f599338d65418a28c14e9191ba7f387f
parent3d1e1cb161afba9434b3c0ddc84c60fe490ad81c
entry: Don't unlink empty files when saving @fix T2122.

Simmple fix where we now only unlink if the object we are saving is NULL.
A null terminated string being null is not an error case.
src/lib/elm_entry.c