aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-08-25 09:59:47 +0000
committerThierry Vignaud <tv@mandriva.org>2008-08-25 09:59:47 +0000
commitc7e7195384b5209db31cbbc1cb029040756dff1d (patch)
treeef45ebd8ea4653e219e9e47f0b508181c5a0081c /rpmdrake.pm
parentb1b5c1dcc1f9388689c1bc8b3d24f81077a16544 (diff)
downloadrpmdrake-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.pm2
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;
},
),
),