integeruser / FP-growth

A C++ implementation of the FP-growth algorithm
MIT License
42 stars 22 forks source link

Use weak_ptr to avoid circular references and memory leak #1

Closed 12wang3 closed 6 years ago

12wang3 commented 6 years ago

Use weak_ptr to avoid circular references between children and parent which may cause memory leak.

integeruser commented 6 years ago

Thanks!