dwarf_loader: conf_load can be NULL

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2009-03-14 15:00:11 -03:00
parent 80374a4e27
commit 5c204b5036
1 changed files with 1 additions and 1 deletions

View File

@ -1610,7 +1610,7 @@ static int cus__load_module(struct cus *self, struct conf_load *conf,
cu->extra_dbg_info = conf ? conf->extra_dbg_info : 0;
die__process(cu_die, cu);
off = noff;
if (conf->steal != NULL) {
if (conf && conf->steal) {
switch (conf->steal(cu, conf)) {
case LSK__STOP_LOADING:
return DWARF_CB_ABORT;