Revision 586f4a2...

Go back to digest for 8th July 2012

Bug Fixes in Utilities

Raphael Kubo da Costa committed changes in [ark/KDE/4.8] /:

cliinterface: Do not leak the pattern cache across different instances.

Since the pattern cache was a method-static variable, it was shared
among all CliInterface instances created during Ark's lifetime, which
meant that the same pattern cache ended up being used if one opened a
zip archive and then a rar one.

Fix that by making the pattern cache an actual member variable, so
each CliInterface instance has its own.

Reported by: Torsten Rahn

File Changes

Modified 2 files
  •   kerfuffle/cliinterface.cpp
  •   kerfuffle/cliinterface.h
2 files changed in total