Fix:core: fix small memleak for struct graphics
authorwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 20 Jun 2012 07:50:09 +0000 (07:50 +0000)
committerwoglinde <woglinde@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Wed, 20 Jun 2012 07:50:09 +0000 (07:50 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@5152 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/graphics.c

index 0f73191..81482aa 100644 (file)
@@ -424,6 +424,7 @@ void graphics_free(struct graphics *gra)
                g_hash_table_destroy(gra->image_cache_hash);
        }
 
+       attr_list_free(gra->attrs);
         graphics_gc_destroy(gra->gc[0]);
         graphics_gc_destroy(gra->gc[1]);
         graphics_gc_destroy(gra->gc[2]);