summaryrefslogtreecommitdiff
path: root/lib/fileinfo.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-03-27 10:48:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2023-03-28 10:11:33 +0200
commit01114f6efda64b9ce3492ed7c7964359de70efe5 (patch)
treee4201962cbeff60aef869ed37e358ffabebde458 /lib/fileinfo.c
parente4cd1ffed155ca912a156f1fff24ea4473ccda95 (diff)
downloadcurl-01114f6efda64b9ce3492ed7c7964359de70efe5.tar.gz
ftplistparser: move out private data from public struct
The public 'curl_fileinfo' struct contained three fields that are for internal purposes only. This change makes them unused in the public struct. The new private struct fields are also renamed to make this separation more obvious internally. Closes #10844
Diffstat (limited to 'lib/fileinfo.c')
-rw-r--r--lib/fileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileinfo.c b/lib/fileinfo.c
index 409b38fcb..c590bc2c4 100644
--- a/lib/fileinfo.c
+++ b/lib/fileinfo.c
@@ -40,7 +40,7 @@ void Curl_fileinfo_cleanup(struct fileinfo *finfo)
if(!finfo)
return;
- Curl_safefree(finfo->info.b_data);
+ Curl_safefree(finfo->mem);
free(finfo);
}
#endif