Changeset dc95342 in mainline for uspace/srv/net/dnsres/transport.c


Ignore:
Timestamp:
2013-04-22T06:45:49Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
31e9fe0
Parents:
7262f89
Message:

Memory freeing, error paths.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/dnsres/transport.c

    r7262f89 rdc95342  
    11/*
    2  * Copyright (c) 2012 Jiri Svoboda
     2 * Copyright (c) 2013 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    120120
    121121        rc = dns_message_decode(recv_buf, recv_size, &resp);
    122         if (rc != EOK)
    123                 return EIO;
     122        if (rc != EOK) {
     123                rc = EIO;
     124                goto error;
     125        }
    124126
    125127        *rresp = resp;
Note: See TracChangeset for help on using the changeset viewer.