pgAdmin III commit: Fix two deletes of the same object in a query tool
pgAdmin III commit: Fix two deletes of the same object in a query tool
От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
Fix two deletes of the same object in a query tool When a user executes a query and wants to save the results, he clicks on the disk-with-a-green-arrow icon. If he clicks on the Cancel button, pgAdmin crashes. The issue was that we deleted two times the qi->toFileExportForm object. Once in the frmQuery code and once in the qi destroy method. Fixed by deleting the one in the frmQuery code. Report from Jean-Michel Souchard. Fixes #255. Branch ------ REL-1_12_0_PATCHES Details ------- http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=69017b51753035ac3bd50af2db3a41a288e5695b Modified Files -------------- pgadmin/frm/frmQuery.cpp | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)