pgAdmin III commit: Fix two deletes of the same object in a query tool

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема pgAdmin III commit: Fix two deletes of the same object in a query tool
Дата
Msg-id 201010141001.o9EA1FXa013935@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
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(-)


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: "pgAdmin Trac"
Дата:
Сообщение: [pgAdmin III] #255: Crash of the query tool if one cancels the export dialog
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: pgAdmin III commit: Fix two deletes of the same object in a query tool