+ srd_dbg("unloading decoder %s", dec->name);
+
+ /* Since any instances of this decoder need to be released as well,
+ * but they could be anywhere in the stack, just free the entire
+ * stack. A frontend reloading a decoder thus has to restart all
+ * instances, and rebuild the stack. */
+ srd_instance_free_all(NULL);
+
+ free_probes(dec->probes);
+ free_probes(dec->extra_probes);