3 ms·#11: Do not create two shared_ptr from the same raw ptr! It creates two control blocks and reference counts.by leni536 10y ago#11: Do not create two shared_ptr from the same raw ptr! It creates two control blocks and reference counts.danieldk 10y agoThat's #5.leni536 10y agoOh, I missed that one.boulos 10y agoShould have used a unique_ptr. ducks