Ignore:
File:
1 edited

Legend:

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

    r5d27e5a re5bc912  
    3838#include <hound/protocol.h>
    3939#include <inttypes.h>
     40#include <malloc.h>
    4041
    4142#include "hound.h"
     
    6970        if (!ctx)
    7071                return EINVAL;
    71         const int ret = hound_remove_ctx(server, ctx);
    72         if (ret == EOK) {
    73                 hound_ctx_destroy(ctx);
    74                 log_info("%s: %p, %#" PRIxn, __FUNCTION__, server, id);
    75         }
    76         return ret;
     72        int ret = hound_remove_ctx(server, ctx);
     73        if (ret != EOK)
     74                return ret;
     75        hound_ctx_destroy(ctx);
     76        log_info("%s: %p, %#" PRIxn, __FUNCTION__, server, id);
     77        return EOK;
    7778}
    7879
Note: See TracChangeset for help on using the changeset viewer.