mem: add comment

This commit is contained in:
Richard Aas 2015-06-29 06:58:05 +00:00
parent 87f8a8b1a4
commit 64e5387bff

View file

@ -282,6 +282,7 @@ void *mem_deref(void *data)
if (m->dh)
m->dh(data);
/* NOTE: check if the destructor called mem_ref() */
if (m->nrefs > 0)
return NULL;