debug_info fix: useless reference
[babeltrace.git] / plugins / lttng-utils / copy.c
index 14cc12742113df5b7b65fc9051120bfea3149147..be170a547fb7a7d91142158c8e93cea1c12bcf83 100644 (file)
@@ -1055,10 +1055,9 @@ struct bt_ctf_packet *debug_info_new_packet(
                                __func__, __FILE__, __LINE__);
                goto error;
        }
-       bt_get(writer_packet);
 
        writer_packet_context = ctf_copy_packet_context(debug_it->err, packet,
-                       writer_stream);
+                       writer_stream, 0);
        if (!writer_packet_context) {
                fprintf(debug_it->err, "[error] %s in %s:%d\n",
                                __func__, __FILE__, __LINE__);
This page took 0.025124 seconds and 4 git commands to generate.