From: Eric Bollengier Date: Mon, 30 Mar 2009 12:50:00 +0000 (+0000) Subject: ebl Fix small memory leak in fileregexp bsr code X-Git-Tag: Release-3.0.0~54 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1fbd2114265277102e3a45525e3dea8fcc53fbed;p=bacula%2Fbacula ebl Fix small memory leak in fileregexp bsr code git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8649 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/bsr.c b/bacula/src/dird/bsr.c index b0fbe3b759..81e384314d 100644 --- a/bacula/src/dird/bsr.c +++ b/bacula/src/dird/bsr.c @@ -152,6 +152,9 @@ void free_bsr(RBSR *bsr) if (bsr->VolParams) { free(bsr->VolParams); } + if (bsr->fileregex) { + free(bsr->fileregex); + } next = bsr->next; free(bsr); } diff --git a/bacula/technotes b/bacula/technotes index bcafdbb229..e1bde67bdc 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -1,6 +1,8 @@ Technical notes for current SVN General: +30Mar09 +ebl Fix small memory leak in fileregexp bsr code 29Mar09 kes Correct bacula32.def entry point as specified by James. kes Add code to FD plugin driver to make a copy of the plugin