aboutsummaryrefslogtreecommitdiff
path: root/handler.c
Commit message (Collapse)AuthorAgeFilesLines
* Perform some minor optimizationsXavier Del Campo Romero2023-07-201-3/+2
|
* Fix memory leak on failed realloc(3)Xavier Del Campo Romero2023-07-201-10/+16
| | | | | | | | | | 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 commitXavier Del Campo Romero2023-07-201-0/+336