From: Michael Sills Lavoie Date: Fri, 26 Mar 2010 18:54:48 +0000 (-0400) Subject: liblttd fix X-Git-Tag: 0.81~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f51abe5f51af65c48c1505996ff7d9bf355303b8;p=ltt-control.git liblttd fix Add one line in liblttd to ensure that every field of the instance struct are initialized correctly. Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttd/liblttd.c b/liblttd/liblttd.c index 7ae01f8..42226bc 100644 --- a/liblttd/liblttd.c +++ b/liblttd/liblttd.c @@ -747,6 +747,7 @@ struct liblttd_instance * liblttd_new_instance( instance->dump_flight_only = flight_only; instance->dump_normal_only = normal_only; instance->verbose_mode = verbose; + instance->quit_program = 0; return instance; }