diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/AFC.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -637,7 +637,8 @@ iphone_error_t iphone_afc_get_file_attr(iphone_afc_client_t client, const char * | |||
| 637 | stbuf->st_uid = getuid(); | 637 | stbuf->st_uid = getuid(); |
| 638 | stbuf->st_gid = getgid(); | 638 | stbuf->st_gid = getgid(); |
| 639 | 639 | ||
| 640 | ret = iphone_afc_close_file(client, file); | 640 | free(file); |
| 641 | ret = IPHONE_E_SUCCESS; | ||
| 641 | } | 642 | } |
| 642 | return ret; | 643 | return ret; |
| 643 | } | 644 | } |
