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:
Mark Michelson
2007-12-13 19:49:55 +00:00
parent 8771f23fff
commit fb077e33cb
+2 -2
View File
@@ -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;
}