dtcm: Coverity 88303, 89531 and 89433
authorPeter Howkins <flibble@users.sf.net>
Wed, 4 Jul 2018 22:09:18 +0000 (23:09 +0100)
committerPeter Howkins <flibble@users.sf.net>
Wed, 4 Jul 2018 22:09:18 +0000 (23:09 +0100)
cde/programs/dtcm/dtcm/submit.c

index 47627974f6733fc0bdeaff294ea544edf5f1cd5f..04f17466e343db0fa620c172bd98a6a4de45955a 100644 (file)
@@ -347,6 +347,9 @@ formatMessage(char ** addrs, const char * subject, const char * body)
                }
        }
 
+    free(ret_codeset);
+    free(ret_lang);
+    free(ret_locale);
 
     return(msg);
 }