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.o9EA1Fmd013933@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
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=d76fd311dd20788a5940b4d24b174d9fa38eda4e

Modified Files
--------------
pgadmin/frm/frmQuery.cpp |    1 -
1 files changed, 0 insertions(+), 1 deletions(-)


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

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