Commit dcf85eb1 authored by Sebastian Hahn's avatar Sebastian Hahn
Browse files

Fix a memory leak, found by coverity

parent e391a497
Loading
Loading
Loading
Loading
+12 −10
Original line number Diff line number Diff line
@@ -2109,6 +2109,8 @@ handle_control_extendcircuit(control_connection_t *conn, uint32_t len,
        connection_printf_to_buf(conn, "250 EXTENDED %lu\r\n",
                  (unsigned long)circ->global_identifier);
      }
      SMARTLIST_FOREACH(args, char *, cp, tor_free(cp));
      smartlist_free(args);
      goto done;
    }
    // "EXTENDCIRCUIT 0 router1,router2" ||