diff options
author | Brian Paul <brianp@vmware.com> | 2009-07-13 08:47:37 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-07-13 08:47:37 -0600 |
commit | 9615daa9324341f6a56932dc46b807f402d18283 (patch) | |
tree | 611f086092443717c44bc31f29bb0f311b0d9d24 /src/mesa/vbo | |
parent | bb4c70358778f28f644ae493b5d8163e76e9fddb (diff) | |
parent | 680f7d09b00fdec0dbe5e357639d6b445bb9266e (diff) |
Merge branch 'mesa_7_5_branch'
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r-- | src/mesa/vbo/vbo_save_api.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_save_api.c b/src/mesa/vbo/vbo_save_api.c index f8e46ff9c9..d00d304d2e 100644 --- a/src/mesa/vbo/vbo_save_api.c +++ b/src/mesa/vbo/vbo_save_api.c @@ -1144,6 +1144,11 @@ static void vbo_destroy_vertex_list( GLcontext *ctx, void *data ) if ( --node->prim_store->refcount == 0 ) FREE( node->prim_store ); + + if (node->current_data) { + FREE(node->current_data); + node->current_data = NULL; + } } |