On Thu, 2 Nov 2017 11:10:05 +0100 Thomas Huth <th...@redhat.com> wrote:
> Instead of doing the clean-ups on errors multiple times, introduce > a jump label at the end of the function that can be used by all > error paths that need this cleanup. > > Suggested-by: Igor Mammedov <imamm...@redhat.com> > Signed-off-by: Thomas Huth <th...@redhat.com> > --- > qdev-monitor.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) Reviewed-by: Cornelia Huck <coh...@redhat.com>