From: Peter Stuge Date: Sun, 21 Oct 2012 18:55:35 +0000 (+0200) Subject: Move sr_exit() in main() to correctly mirror order of initialization X-Git-Tag: sigrok-cli-0.4.0~71 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=8630d4a814e95b824b152c1bac3d68640ea3f53e;p=sigrok-cli.git Move sr_exit() in main() to correctly mirror order of initialization --- diff --git a/sigrok-cli.c b/sigrok-cli.c index d1544ac..805e219 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -1535,8 +1535,8 @@ int main(int argc, char **argv) if (opt_pds) srd_exit(); - g_option_context_free(context); sr_exit(); + g_option_context_free(context); return 0; }