Fix 2 small memory leaks.

This commit is contained in:
Dave Davenport 2015-09-07 08:31:01 +02:00
parent 127d838847
commit ca602383f1
2 changed files with 2 additions and 0 deletions

View File

@ -1376,6 +1376,7 @@ void error_dialog ( const char *msg, int markup )
}
}
release_keyboard ( display );
menu_free_state ( &state );
}
/**

View File

@ -778,6 +778,7 @@ void textbox_cleanup ( void )
}
g_object_unref ( p_context );
pango_xft_shutdown_display ( display, DefaultScreen ( display ) );
p_context = NULL;
visual_info = NULL;
target_colormap = None;