Fix a potential memory leak.
[oweals/tinc.git] / src / meta.c
index ccc3b2e670d5ae9a0210929d804703323f97983f..60814c78d59fc2ab59611d63f7859ed58494f59a 100644 (file)
@@ -38,11 +38,6 @@ bool send_meta(connection_t *c, const char *buffer, int length) {
        int outlen;
        int result;
 
-       if(!c) {
-               logger(LOG_ERR, "send_meta() called with NULL pointer!");
-               abort();
-       }
-
        ifdebug(META) logger(LOG_DEBUG, "Sending %d bytes of metadata to %s (%s)", length,
                           c->name, c->hostname);