LogDlg: When filtering only for paths log entries might contain invalid data
commit50434b587371a9c9528ecd52962faa1deef48812
authorSven Strickroth <email@cs-ware.de>
Sat, 1 Aug 2015 13:51:34 +0000 (1 15:51 +0200)
committerSven Strickroth <email@cs-ware.de>
Sat, 1 Aug 2015 13:51:34 +0000 (1 15:51 +0200)
tree37167a745659e026fa8f3d812ff0499e094f3874
parent71b2214eec0b3cfe0235982e5b421b9b95e3b411
LogDlg: When filtering only for paths log entries might contain invalid data

When filtering only for paths SafeGetSimpleList is called before CheckAndParser. SafeGetSimpleList requests its own commit struct from libgit, however, the data is shared with m_GitCommit. So, only free the commit if its not shared with m_GitCommit.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/Git/GitRevLoglist.cpp