Browse Source

Fix memory leak in ringbuffer.c

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1316 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.61
sletz 19 years ago
parent
commit
74fcf9020d
2 changed files with 5 additions and 1 deletions
  1. +4
    -1
      ChangeLog
  2. +1
    -0
      common/ringbuffer.c

+ 4
- 1
ChangeLog View File

@@ -1,7 +1,10 @@
--------------------------- ---------------------------
Jackdmp changes log Jackdmp changes log
---------------------------
---------------------------

2006-12-12 Stephane Letz <letz@grame.fr>
* Fix memory leak in ringbuffer.c.
2006-11-29 Stephane Letz <letz@grame.fr> 2006-11-29 Stephane Letz <letz@grame.fr>


+ 1
- 0
common/ringbuffer.c View File

@@ -63,6 +63,7 @@ jack_ringbuffer_free (jack_ringbuffer_t * rb)
} }
#endif /* USE_MLOCK */ #endif /* USE_MLOCK */
free (rb->buf); free (rb->buf);
free (rb);
} }


/* Lock the data block of `rb' using the system call 'mlock'. */ /* Lock the data block of `rb' using the system call 'mlock'. */


Loading…
Cancel
Save