amd: bugfix.
* mailbox/amd.c (read_size_file): Fix return value.
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -1005,6 +1005,8 @@ read_size_file (struct _amd_data *amd, mu_off_t *psize) | ... | @@ -1005,6 +1005,8 @@ read_size_file (struct _amd_data *amd, mu_off_t *psize) |
1005 | rc = 1; | 1005 | rc = 1; |
1006 | fclose (fp); | 1006 | fclose (fp); |
1007 | } | 1007 | } |
1008 | else | ||
1009 | rc = 1; | ||
1008 | free (name); | 1010 | free (name); |
1009 | return rc; | 1011 | return rc; |
1010 | } | 1012 | } | ... | ... |
-
Please register or sign in to post a comment