diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-18 11:17:46 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-29 23:38:39 +0200 |
commit | ad82be9beabfc3346c72095db558d5be629891e5 (patch) | |
tree | 430fd4797158fc3ab608cd1f14bcba5569d574dd /README.md | |
parent | file: rework file_read (diff) | |
download | cimple-ad82be9beabfc3346c72095db558d5be629891e5.tar.gz cimple-ad82be9beabfc3346c72095db558d5be629891e5.zip |
fix realloc usage
Remember, this is always a mistake:
ptr = realloc(ptr, size);
You still need to free() the original ptr if realloc fails.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions