use GC correctly and avoid memory leaks
commit9adbee0ab71bf408db5c3befb43b2bab0d86ebb2
authorEric Wong <normalperson@yhbt.net>
Sat, 13 Feb 2010 11:30:44 +0000 (13 03:30 -0800)
committerEric Wong <normalperson@yhbt.net>
Sat, 13 Feb 2010 11:30:44 +0000 (13 03:30 -0800)
treef11831d89fcd23c5be32d914ea1edf0eab21106b
parentc07cf2979036b9550566d59d6d4899be98f3e553
use GC correctly and avoid memory leaks

We still need to explicitly free the pointer we're given, and
not just close the associated file descriptor.  Fortunately most
people to not spend all day opening/closing message queue
descriptors so this leak may not be noticeable.
ext/posix_mq/posix_mq.c