Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qrouting: Improve code quality [part 1]
* fix some SHM leaks * avoid redundant zero initializations (either globally or on stack) * avoid redundant pointer resets to NULL after a shm_free(). If there's a double free, all modern OpenSIPS debugging allocators will detect it anyway * eliminate free_history(), just use shm_free_all() * normalize coding style
- Loading branch information
1 parent
81c9f5e
commit 4de3e3c
Showing
2 changed files
with
51 additions
and
55 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
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