Ignore:
Timestamp:
2014-02-10T15:20:59Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b6e481b
Parents:
dbb29de (diff), 9163546 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

hound: Plug memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/audio_device.c

    rdbb29de r054f3079  
    4242#include <str.h>
    4343#include <str_error.h>
     44#include <sys/mman.h>
    4445
    4546
     
    380381        const int ret = audio_pcm_release_buffer(dev->sess);
    381382        if (ret == EOK) {
     383                munmap(dev->buffer.base, dev->buffer.size);
    382384                dev->buffer.base = NULL;
    383385                dev->buffer.size = 0;
Note: See TracChangeset for help on using the changeset viewer.