/ Check-in [7b3a7551]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix heap issue in the shell on Win32 caused by allocator mismatch.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:7b3a75519aa72a6b49a125ee84946ba2c0722dd6644ee0c80ba567eb85daf5c9
User & Date: mistachkin 2018-02-26 16:49:20
Context
2018-02-26
17:03
More tests pursuant to ticket [36fae083b450e3af857a459e20]. check-in: c26f236d user: mistachkin tags: trunk
16:49
Fix heap issue in the shell on Win32 caused by allocator mismatch. check-in: 7b3a7551 user: mistachkin tags: trunk
15:27
Always interpret non-zero floating-point values as true even if their integer part is zero. Fix for ticket [36fae083b450e3af857a459e20]. check-in: a983fa85 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/shell.c.in.

8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
  }
  sqlite3_free(data.zFreeOnClose);
  find_home_dir(1);
  output_reset(&data);
  data.doXdgOpen = 0;
  clearTempFile(&data);
#if !SQLITE_SHELL_IS_UTF8
  for(i=0; i<argc; i++) sqlite3_free(argv[i]);
  sqlite3_free(argv);
#endif
  return rc;
}







|
|



8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
  }
  sqlite3_free(data.zFreeOnClose);
  find_home_dir(1);
  output_reset(&data);
  data.doXdgOpen = 0;
  clearTempFile(&data);
#if !SQLITE_SHELL_IS_UTF8
  for(i=0; i<argc; i++) free(argv[i]);
  free(argv);
#endif
  return rc;
}