Fix to plug a memory leak when a context is closed:

diff --git a/src/tspi/tspi_context.c b/src/tspi/tspi_context.c
index 88288e2..5d7fd52 100644
--- a/src/tspi/tspi_context.c
+++ b/src/tspi/tspi_context.c
@@ -55,6 +55,8 @@ Tspi_Context_Close(TSS_HCONTEXT tspContext)   /* in */
         /* Destroy all objects */
         obj_close_context(tspContext);
  
+       __tspi_freeTable(tspContext);
+
         /* close the ps file */
         PS_close();



-Wyllys Ingersoll


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to