From: Anthony Minessale Date: Fri, 22 Mar 2013 15:28:15 +0000 (-0500) Subject: print message before destroying obj X-Git-Tag: v1.3.17-final~51^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ca2c2b0e74c380aafa2a976dfb18050e5ec8098;p=thirdparty%2Ffreeswitch.git print message before destroying obj --- diff --git a/src/mod/languages/mod_lua/freeswitch_lua.cpp b/src/mod/languages/mod_lua/freeswitch_lua.cpp index f4d5291db9..34edfaea93 100644 --- a/src/mod/languages/mod_lua/freeswitch_lua.cpp +++ b/src/mod/languages/mod_lua/freeswitch_lua.cpp @@ -366,8 +366,8 @@ Dbh::~Dbh() bool Dbh::release() { if (dbh) { - switch_cache_db_release_db_handle(&dbh); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "DBH handle %p released.\n", (void *) dbh); + switch_cache_db_release_db_handle(&dbh); return true; }