static GIOChannel *main_giochannel;
+void main_exit(void) G_GNUC_NORETURN;
void main_exit(void)
{
if (cmdline_captive_vfs_object) {
/* 'cmd_argv' gets cleared by 'poptFreeContext(context);' below */
poptFreeContext(context);
- return EXIT_SUCCESS;
+ main_exit(); /* unref 'cmdline_captive_vfs_object' */
+ /* NOTREACHED */
}