summaryrefslogtreecommitdiffstats
path: root/libdimension/texture.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/texture.c')
-rw-r--r--libdimension/texture.c2
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);
}
}