summaryrefslogtreecommitdiffstats
path: root/lib/plugins/Python.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-09-14 17:09:50 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-09-14 17:09:50 +0200
commite2fd97d5c8d1c64ee1e09b966f38c33ad1a1fa48 (patch)
treeb189f48af3472c5794abb698d6ad8eee843c3ec6 /lib/plugins/Python.cpp
parentd75496e3e1bc3461c5a43fd622bdc5f097613972 (diff)
downloadabrt-e2fd97d5c8d1c64ee1e09b966f38c33ad1a1fa48.tar.gz
abrt-e2fd97d5c8d1c64ee1e09b966f38c33ad1a1fa48.tar.xz
abrt-e2fd97d5c8d1c64ee1e09b966f38c33ad1a1fa48.zip
I noticed that ->locked and ->opened members are always the same
(either 0 or 1), and I decided to drop ->opened. And do a few other trivial optimizations/cleanups. While working on it, I noticed that dd_save_binary has "opened" check inverted, and that dd_create and dd_open are leaking dd->dd_dir on error path. So the patch turned from optimization to bugfix. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'lib/plugins/Python.cpp')
0 files changed, 0 insertions, 0 deletions