CRM-13628 fix memory leak in note deletion by freeing DAO
Merge pull request #1823 from lcdservices/CRM-13628

CRM-13628 fix memory leak in note deletion by freeing DAO