adg: protect adg_file_find() from NULL
commit6ab227a22f3e81fba72b2f16da457d7c257a1b60
authorNicola Fontana <ntd@entidi.it>
Sun, 25 Jan 2015 13:08:03 +0000 (25 14:08 +0100)
committerNicola Fontana <ntd@entidi.it>
Sun, 25 Jan 2015 13:08:55 +0000 (25 14:08 +0100)
tree4baa58826267579aa536bcbcccd75f0f4c810cfb
parented79c3eaa3e21973a40fcae5fc89435ae61b3c05
adg: protect adg_file_find() from NULL

Check for NULL file value before running the code. Updated the docblock
accordingly.
src/adg/adg-utils.c