mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-27 16:07:15 -07:00
Prevent a possible fd leak.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@92803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1686,11 +1686,11 @@ static int base_encode(char *filename, FILE *so)
|
||||
}
|
||||
}
|
||||
|
||||
fclose(fi);
|
||||
|
||||
if (fputs(eol,so)==EOF)
|
||||
return 0;
|
||||
|
||||
fclose(fi);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user