diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-08-25 09:59:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-08-25 09:59:47 +0000 |
commit | c7e7195384b5209db31cbbc1cb029040756dff1d (patch) | |
tree | ef45ebd8ea4653e219e9e47f0b508181c5a0081c /rpmdrake.pm | |
parent | b1b5c1dcc1f9388689c1bc8b3d24f81077a16544 (diff) | |
download | rpmdrake-c7e7195384b5209db31cbbc1cb029040756dff1d.tar rpmdrake-c7e7195384b5209db31cbbc1cb029040756dff1d.tar.gz rpmdrake-c7e7195384b5209db31cbbc1cb029040756dff1d.tar.bz2 rpmdrake-c7e7195384b5209db31cbbc1cb029040756dff1d.tar.xz rpmdrake-c7e7195384b5209db31cbbc1cb029040756dff1d.zip |
(update_sources) crash fix (#41970)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 01036055..0870c632 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -736,7 +736,7 @@ sub update_sources { Gtk2::Button->new(N("Cancel")), clicked => sub { $cancel = 1; - $w->destroy; + $w and $w->destroy; }, ), ), |