do not crash if session is NULL
This commit is contained in:
parent
f155aff749
commit
428ecee396
@ -748,6 +748,7 @@ run (void *cls)
|
||||
|
||||
drop:
|
||||
if (NULL != session)
|
||||
{
|
||||
plugin->rollback (plugin->cls,
|
||||
session);
|
||||
|
||||
@ -764,7 +765,7 @@ drop:
|
||||
FAILIF (0 >
|
||||
plugin->commit (plugin->cls,
|
||||
session));
|
||||
|
||||
}
|
||||
GNUNET_break (GNUNET_OK ==
|
||||
plugin->drop_tables (plugin->cls));
|
||||
unload:
|
||||
|
Loading…
Reference in New Issue
Block a user