Switch to unified view

a/src/internfile/mimehandler.cpp b/src/internfile/mimehandler.cpp
...
...
125
125
126
void clearMimeHandlerCache()
126
void clearMimeHandlerCache()
127
{
127
{
128
    LOGDEB(("clearMimeHandlerCache()\n"));
128
    LOGDEB(("clearMimeHandlerCache()\n"));
129
    typedef multimap<string, RecollFilter*>::value_type value_type;
129
    typedef multimap<string, RecollFilter*>::value_type value_type;
130
    map<string, RecollFilter *>::iterator it;
130
    multimap<string, RecollFilter *>::iterator it;
131
    PTMutexLocker locker(o_handlers_mutex);
131
    PTMutexLocker locker(o_handlers_mutex);
132
    for (it = o_handlers.begin(); it != o_handlers.end(); it++) {
132
    for (it = o_handlers.begin(); it != o_handlers.end(); it++) {
133
    delete it->second;
133
    delete it->second;
134
    }
134
    }
135
    o_handlers.clear();
135
    o_handlers.clear();