diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-profile-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c index 53d8dd8e7..559ab1792 100644 --- a/lib/ephy-profile-utils.c +++ b/lib/ephy-profile-utils.c @@ -47,12 +47,13 @@ ephy_profile_utils_get_migration_version () result = sscanf(contents, "%d", &latest); g_free (contents); - g_free (migrated_file); if (result != 1) latest = 0; } + g_free (migrated_file); + return latest; } |