Fix: abort on unknown location type in destructor
[lttng-tools.git] / src / common / userspace-probe.c
index ac26a0c47411790b2a130067bcfe4821c1c73a1a..37bdcc7b1b7897ac3ef588b4839744995dd17591 100644 (file)
@@ -150,7 +150,7 @@ void lttng_userspace_probe_location_destroy(
                lttng_userspace_probe_location_tracepoint_destroy(location);
                break;
        default:
-               free(location);
+               abort();
        }
 }
 
This page took 0.022826 seconds and 4 git commands to generate.