Fix:Core:Free progress_callback too
authorwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 14 Apr 2011 13:25:47 +0000 (13:25 +0000)
committerwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Thu, 14 Apr 2011 13:25:47 +0000 (13:25 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4424 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/navit.c

index 6cead65..b80d5c7 100644 (file)
@@ -3006,6 +3006,7 @@ navit_destroy(struct navit *this_)
        callback_destroy(this_->roadbook_callback);
        callback_destroy(this_->popup_callback);
        callback_destroy(this_->motion_timeout_callback);
+       callback_destroy(this_->progress_cb);
        if(this_->gra)
          graphics_remove_callback(this_->gra, this_->resize_callback);
        callback_destroy(this_->resize_callback);