no need to alloc filename

SVN revision: 65818
This commit is contained in:
Mike Blumenkrantz 2011-12-02 14:35:36 +00:00
parent f0c69e575f
commit 916595afff
1 changed files with 1 additions and 1 deletions

View File

@ -1586,7 +1586,7 @@ open_error:
file_len = strlen(file) + 1;
/* Allocate struct for eet file and have it zero'd out */
ef = malloc(sizeof(Eet_File) + file_len);
ef = malloc(sizeof(Eet_File));
if (!ef)
goto on_error;