diff options
Diffstat (limited to 'lib/fileinfo.c')
-rw-r--r-- | lib/fileinfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/fileinfo.c b/lib/fileinfo.c index 16166687e..4ffcbbe29 100644 --- a/lib/fileinfo.c +++ b/lib/fileinfo.c @@ -48,8 +48,7 @@ void Curl_fileinfo_dtor(void *user, void *element) if(!finfo) return; - if(finfo->b_data) - free(finfo->b_data); + Curl_safefree(finfo->b_data); free(finfo); } |