mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[dialog-file-access] plug a char* leak
This commit is contained in:
parent
f6d013847d
commit
ef0c9deb7f
@ -84,7 +84,10 @@ geturl( FileAccessWindow* faw )
|
||||
{
|
||||
path = gtk_file_chooser_get_filename (faw->fileChooser);
|
||||
if ( !path ) /* file protocol was chosen but no filename was set */
|
||||
{
|
||||
g_free (type);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
else /* db protocol was chosen */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user