summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-11-29 07:51:09 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:28 -0500
commitda8e21cf102f54ba05adce1cb8e59794b6c73bac (patch)
tree922d86b1a55e7fd6a941177cf0ee645278c9ad18
parente62c177d6953d63a7af2c00c42301dcf7c0b8a71 (diff)
downloadperk-da8e21cf102f54ba05adce1cb8e59794b6c73bac.tar.bz2
perk-da8e21cf102f54ba05adce1cb8e59794b6c73bac.tar.xz
pe_get_image_meta(): assign return value in default code path.
-rw-r--r--src/logic/pe_get_image_meta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c
index b5bca34..9dd0481 100644
--- a/src/logic/pe_get_image_meta.c
+++ b/src/logic/pe_get_image_meta.c
@@ -18,6 +18,8 @@ static int pe_free_image_meta_impl(struct pe_image_meta * meta, int status)
free(meta->sectbl);
free(meta);
}
+
+ return status;
}
void pe_free_image_meta(struct pe_image_meta * meta)