forked from staticlibs/ccronexpr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The issue was the missed `free()` of the result fields being merged into the final field. As the original subfields are already freed in `replace_hashed()`, this should now happen in the final free for the list subfields. Also removed the `str_append()` utility, as allocating one big string and filling it with the single results (via sprintf) may take more runtime (for looping twice), but simplifies memory management and improves readability.
- Loading branch information
1 parent
c519bd9
commit a924bd8
Showing
1 changed file
with
118 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters