diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-16 23:25:53 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-16 23:25:53 -0600 |
commit | d374841194f24c7cb1cdc52fc631fcb2982af358 (patch) | |
tree | fa92504fb50c6a4195317dad653ed3ab72fa6f27 /libdimension/texture.c | |
parent | 719fea8f97320814835408fad6ce2a4647674c11 (diff) | |
download | dimension-d374841194f24c7cb1cdc52fc631fcb2982af358.tar.xz |
Add a refcount to objects.
Diffstat (limited to 'libdimension/texture.c')
-rw-r--r-- | libdimension/texture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/texture.c b/libdimension/texture.c index 5f3b98d..2199103 100644 --- a/libdimension/texture.c +++ b/libdimension/texture.c @@ -43,9 +43,9 @@ void dmnsn_delete_texture(dmnsn_texture *texture) { if (texture && DMNSN_DECREF(texture)) { + dmnsn_delete_refcount(texture->refcount); dmnsn_delete_finish(texture->finish); dmnsn_delete_pigment(texture->pigment); - dmnsn_delete_refcount(texture->refcount); dmnsn_free(texture); } } |