-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[7.4] lib: fix route map description memory leak #6683
[7.4] lib: fix route map description memory leak #6683
Conversation
Route map entries are not getting a chance to call `description` string deallocation on shutdown or when the parent entry is destroyed, so lets add a code to handle this in the `route_map_index_delete` function. Signed-off-by: Rafael Zalamena <[email protected]> (cherry picked from commit f095133)
💚 Basic BGPD CI results: SUCCESS, 0 tests failedResults table
For details, please contact louberger |
Continuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-12976/ This is a comment from an automated CI system. Warnings Generated during build:Ubuntu 18.04 arm7 build: Successful with additional warningsDebian Package lintian failed for Ubuntu 18.04 arm7 build:
Debian 9 amd64 build: Successful with additional warningsDebian Package lintian failed for Debian 9 amd64 build:
Ubuntu 20.04 amd64 build: Successful with additional warningsDebian Package lintian failed for Ubuntu 20.04 amd64 build:
Ubuntu 18.04 ppc64le build: Successful with additional warningsDebian Package lintian failed for Ubuntu 18.04 ppc64le build:
Ubuntu 16.04 i386 build: Successful with additional warningsDebian Package lintian failed for Ubuntu 16.04 i386 build:
Ubuntu 16.04 arm8 build: Successful with additional warningsDebian Package lintian failed for Ubuntu 16.04 arm8 build:
Ubuntu 18.04 arm8 build: Successful with additional warningsDebian Package lintian failed for Ubuntu 18.04 arm8 build:
Ubuntu 16.04 arm7 build: Successful with additional warningsDebian Package lintian failed for Ubuntu 16.04 arm7 build:
Debian 8 amd64 build: Successful with additional warningsDebian Package lintian failed for Debian 8 amd64 build:
Debian 10 amd64 build: Successful with additional warningsDebian Package lintian failed for Debian 10 amd64 build:
Ubuntu 16.04 amd64 build: Successful with additional warningsDebian Package lintian failed for Ubuntu 16.04 amd64 build:
Ubuntu 18.04 amd64 build: Successful with additional warningsDebian Package lintian failed for Ubuntu 18.04 amd64 build:
|
Summary
Backport of #6681 .
Route map entries are not getting a chance to call
description
stringdeallocation on shutdown or when the parent entry is destroyed, so lets
add a code to handle this in the
route_map_index_delete
function.