mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
fix postgres core dump
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3525 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
82fc84f7ed
commit
126f274e17
@ -812,7 +812,7 @@ xaccResolveURL (const char * pathfrag)
|
||||
!strncmp (pathfrag, "https://", 8) ||
|
||||
!strncmp (pathfrag, "postgres://", 11) )
|
||||
{
|
||||
return (char *) pathfrag;
|
||||
return g_strdup(pathfrag);
|
||||
}
|
||||
|
||||
if (!strncmp (pathfrag, "file:", 5)) {
|
||||
|
Loading…
Reference in New Issue
Block a user