diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2020-10-18 18:47:30 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2020-10-18 18:47:30 +0100 |
commit | 31ca889d27db05f2cfc6323f15a019d9aeb58fb6 (patch) | |
tree | 0540af8599c59ebf437ff908c890c2dc582462cd | |
parent | 091c9ee9dca247fdbba068562160c8fe2e524857 (diff) | |
download | mdk-31ca889d27db05f2cfc6323f15a019d9aeb58fb6.tar.gz mdk-31ca889d27db05f2cfc6323f15a019d9aeb58fb6.tar.bz2 |
Use g_error_free
-rw-r--r-- | mixlib/xmix_vm_handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mixlib/xmix_vm_handlers.c b/mixlib/xmix_vm_handlers.c index f356607..f8b6b1f 100644 --- a/mixlib/xmix_vm_handlers.c +++ b/mixlib/xmix_vm_handlers.c @@ -1,7 +1,7 @@ /* -*-c-*- -------------- xmix_vm_handlers.c : * Implementation of the functions declared in xmix_vm_handlers.h * ------------------------------------------------------------------ - * Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007, 2010, 2014 Free Software Foundation, Inc. + * Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007, 2010, 2014, 2020 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -314,7 +314,7 @@ cmd_compile_ (mix_vm_cmd_dispatcher_t *dis, const gchar *arg) if (gerr && gerr->message) log_error_ (dis, gerr->message); } - if (gerr) g_free (gerr); + if (gerr) g_error_free (gerr); if (output) g_free (output); if (errors) g_free (errors); |