-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use safe_malloc instead of new when creating new_envoy_map_entry (#2632)
Use safe_malloc instead of new when creating new_envoy_map_entry since release_envoy_map uses free instead of delete. Found when building this code internally with some sort of strict checking enabled Signed-off-by: Ryan Hamilton rch@google.com Risk Level: Low Testing: Existing tests Docs Changes: N/A Release Notes: N/A Signed-off-by: JP Simard <jp@jpsim.com>
- Loading branch information
1 parent
25c4fd7
commit f0f7a7d
Showing
3 changed files
with
18 additions
and
14 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
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