diff options
Diffstat (limited to 'ext/shmop/shmop.c')
| -rw-r--r-- | ext/shmop/shmop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/shmop/shmop.c b/ext/shmop/shmop.c index 60e9dcd0ce..ed7e39416b 100644 --- a/ext/shmop/shmop.c +++ b/ext/shmop/shmop.c @@ -76,6 +76,7 @@ ZEND_GET_MODULE(shmop) static void rsclean(zend_rsrc_list_entry *rsrc) { struct php_shmop *shmop = (struct php_shmop *)rsrc->ptr; + shmdt(shmop->addr); efree(shmop); } |
