Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7094e196 in mainline


Ignore:
Timestamp:
2012-04-05T21:23:57Z (8 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
347768d
Parents:
92b42442
Message:

Fix leaks.

Location:
uspace/srv/udp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/udp/assoc.c

    r92b42442 r7094e196  
    277277        *msg = rqe->msg;
    278278        *fsock = rqe->sp.foreign;
     279        free(rqe);
    279280
    280281        return EOK;
  • uspace/srv/udp/ucall.c

    r92b42442 r7094e196  
    3939
    4040#include "assoc.h"
     41#include "msg.h"
    4142#include "udp_type.h"
    4243#include "ucall.h"
     
    110111        memcpy(buf, msg->data, xfer_size);
    111112        *rcvd = xfer_size;
     113        udp_msg_delete(msg);
    112114
    113115        return UDP_EOK;
Note: See TracChangeset for help on using the changeset viewer.