Kamil Ignacak
2016-12-11 22:43:16 UTC
Hello,
I think that I've found a small memory leak in vikmapniklayer.c, can you
please take a look?
The leak is in carto_load() function, line 505, the "msg" pointer is
never deallocated:
if ( vw ) {
gchar *msg = g_strdup_printf( "%s: %s", _("Running"), command );
vik_window_statusbar_update( vw, msg, VIK_STATUSBAR_INFO );
vik_window_set_busy_cursor( vw );
}
Best regards,
Kamil
I think that I've found a small memory leak in vikmapniklayer.c, can you
please take a look?
The leak is in carto_load() function, line 505, the "msg" pointer is
never deallocated:
if ( vw ) {
gchar *msg = g_strdup_printf( "%s: %s", _("Running"), command );
vik_window_statusbar_update( vw, msg, VIK_STATUSBAR_INFO );
vik_window_set_busy_cursor( vw );
}
Best regards,
Kamil