<div dir="ltr">Hello Openssl Users,<div><br></div><div>Currently we are facing a memory leak issue in the following scenario. </div><div><br></div><div>We are allocating dynamic memory to a appctx and we are setting this appctx to the session using the function </div><div>SSL_SESSION_set_app_data().<br></div><div><br></div><div>My understanding is that, this appctx will be updated as part of ex_data present at SSL_SESSION data structure. </div><div><br></div><div>As part of SSL_SESSION_free(), i see that crypto_free_ex_data() gets called. But, we are seeing that appctx is not being free'd through openssl. </div><div><br></div><div>Is there any function do i need to update for free_func() to get this appctx to be free'd?</div><div><br></div><div>And my understanding is if SSL Caching is present, this ex_data also gets saved as part of SSL_SESSION data. Hence, at application we are unable to judge when to free this appctx. Hence, we would like to get this free'd when openssl frees its SSL Session. </div><div><br></div><div>Please provide me appropriate function to call/to set at/to openssl to get this appctx free'd by openssl when SSL_Session is being freed. </div><div><br></div><div>Thanks in advance.</div><div><br></div><div>Rajeswari.</div><div><br></div></div>