Results 1 to 2 of 2

Thread: small patch

  1. #1
    Developer
    Join Date
    Oct 2010
    Posts
    214

    small patch

    I upgraded my system today and it installed a new version of the libstdc++ library. Showeq started seg faulting whenever I zoned into a zone that I had zone filters set up for.

    I tracked it down and fixed it, but I'm not really a C++ dev. I'd appreciate other eyes checking off on it.

    Code:
    Index: src/filter.cpp
    ===================================================================
    --- src/filter.cpp    (revision 1014)
    +++ src/filter.cpp    (working copy)
    @@ -444,13 +444,11 @@
       {
         // get the Filter object
         filter = it->second;
    -    
    -    // erase the member from the list
    -    m_filters.erase(it);
     
         // delete the filter
         delete filter;
       }
    +  m_filters.clear ();
     
       return true;
     }

  2. #2
    Administrator
    Join Date
    Oct 2019
    Posts
    497

    Re: small patch

    Looks good to me. That's pretty much identical to the fix I made to the v6 beta branch in r979. I probably should have backported the fix to trunk, but I didn't really think about it. Sorry.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On