#43 back-sch: fix memory leak in backend_search_cb()
Merged 2 years ago by abbra. Opened 2 years ago by vashirov.
vashirov/slapi-nis master  into  master

file modified
+1
@@ -1793,6 +1793,7 @@ 

  		slapi_ch_free_string(&target);

  		if (cbdata.answer == FALSE) {

  			/* None of the configured trees in the sets matched the target at all, ignore search */

+ 			slapi_sdn_free(&cbdata.target_dn);

  			return 0;

  		}

  	}

Resolves: rhbz#1967906

Signed-off-by: Viktor Ashirov vashirov@redhat.com

Pull-Request has been merged by abbra

2 years ago

Thanks, Viktor!

I merged the pull request.

Metadata