X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Ffindtextrel.c;h=9fd81633b41252e964210d5d69aae65ce05c63c5;hb=a286dd013ef8d46edf013efc0908822a59d8ac81;hp=39f7c924f39333578030272b469a230eb074ecaa;hpb=18a667176dd196f7bc3a9cdf1cbd87d4c7b31c7f;p=platform%2Fupstream%2Felfutils.git diff --git a/src/findtextrel.c b/src/findtextrel.c index 39f7c92..9fd8163 100644 --- a/src/findtextrel.c +++ b/src/findtextrel.c @@ -311,7 +311,7 @@ process_file (const char *fname, bool more_than_one) if (!have_textrel) { error (0, 0, gettext ("no text relocations reported in '%s'"), fname); - return 1; + goto err_elf_close; } int fd2 = -1;