*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifdef HAVE_CONFIG_H
return FALSE;
}
- progbar = create_progress_dlg("Saving voice in a file", dest, TRUE, &stop_flag);
+ progbar = create_progress_dlg(top_level, "Saving voice in a file", dest, TRUE, &stop_flag);
if (format == SAVE_AU_FORMAT) /* au format */
{
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
"Can't create temporary file for RTP analysis:\n%s.",
g_strerror(errno));
+ g_free(user_data);
return;
}
user_data->f_tempname = g_strdup(tempname);
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
"Can't create temporary file for RTP analysis:\n%s.",
g_strerror(errno));
+ g_free(user_data->f_tempname);
+ g_free(user_data);
return;
}
user_data->r_tempname = g_strdup(tempname);