From 974ebde43cceccc7b20f394ba37e57e84daf85c9 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Thu, 30 Apr 2009 06:15:11 +0000 Subject: [PATCH] DBD-SQLite: added necessary ENTER/SAVETMPS/FREETMPS/LEAVE to sqlite_db_progress_handler_dispatcher --- dbdimp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dbdimp.c b/dbdimp.c index ad7e64d..32cd329 100644 --- a/dbdimp.c +++ b/dbdimp.c @@ -1322,6 +1322,8 @@ int sqlite_db_progress_handler_dispatcher( void *handler ) int n_retval; int retval; + ENTER; + SAVETMPS; PUSHMARK(SP); n_retval = call_sv( handler, G_SCALAR ); if ( n_retval != 1 ) { @@ -1330,6 +1332,8 @@ int sqlite_db_progress_handler_dispatcher( void *handler ) SPAGAIN; retval = POPi; PUTBACK; + FREETMPS; + LEAVE; return retval; }