From 271cf23083b38b3f0d12a36bb1f28e458ee43861 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Tue, 21 Nov 2006 12:39:31 +0000 Subject: Fixed handles leak upon program exit, by introducing pj_shutdown() and pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/samples/playfile.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pjsip-apps/src/samples/playfile.c') diff --git a/pjsip-apps/src/samples/playfile.c b/pjsip-apps/src/samples/playfile.c index 387f0776..c267cd8d 100644 --- a/pjsip-apps/src/samples/playfile.c +++ b/pjsip-apps/src/samples/playfile.c @@ -195,6 +195,9 @@ int main(int argc, char *argv[]) /* Destroy pool factory */ pj_caching_pool_destroy( &cp ); + /* Shutdown PJLIB */ + pj_shutdown(); + /* Done. */ return 0; -- cgit v1.2.3