lua: fix apk_ctx handling in db_open
This properly initializes and frees apk_ctx
. Fixes a null pointer dereference when ac->out
is used somewhere.
This properly initializes and frees apk_ctx
. Fixes a null pointer dereference when ac->out
is used somewhere.