| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fix memory leak on failed realloc(3) | Xavier Del Campo Romero | 2023-07-20 | 1 | -13/+36 | |
| | | | | | | | | | | | According to C99 ยง7.20.3.4: If memory for the new object cannot be allocated, the old object is not deallocated and its value is unchanged. Therefore, a temporary pointer must be used to ensure the original object can still be deallocated should realloc(3) return a null pointer. | |||||
| * | Initial commit | Xavier Del Campo Romero | 2023-07-20 | 1 | -0/+1612 | |
