summaryrefslogtreecommitdiffstats
path: root/src/afc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afc.c')
-rw-r--r--src/afc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/afc.c b/src/afc.c
index e3da184..bdfa30e 100644
--- a/src/afc.c
+++ b/src/afc.c
@@ -1371,15 +1371,15 @@ afc_error_t afc_set_file_time(afc_client_t client, const char *path, uint64_t mt
1371 1371
1372afc_error_t afc_dictionary_free(char **dictionary) 1372afc_error_t afc_dictionary_free(char **dictionary)
1373{ 1373{
1374 int i = 0; 1374 int i = 0;
1375 1375
1376 if (!dictionary) 1376 if (!dictionary)
1377 return AFC_E_INVALID_ARG; 1377 return AFC_E_INVALID_ARG;
1378 1378
1379 for (i = 0; dictionary[i]; i++) { 1379 for (i = 0; dictionary[i]; i++) {
1380 free(dictionary[i]); 1380 free(dictionary[i]);
1381 } 1381 }
1382 free(dictionary); 1382 free(dictionary);
1383 1383
1384 return AFC_E_SUCCESS; 1384 return AFC_E_SUCCESS;
1385} 1385}