cvmfs/cvmfs — pull request #521 by reneme (2014-08-07 09:48:54+00:00)
Title: Fix: Pathspec Memory Leak

`Pathspec` is using `regex_t` from `regex.h` but didn't clean up after himself with `regfree()`. Furthermore this required the addition of a custom copy c'tor and assignment operator to properly deal with this internal state.

Additionally I added two unit tests to check the copy c'tor and the assignment operator.