gkdr / lurch

XEP-0384: OMEMO Encryption for libpurple.
GNU General Public License v3.0
289 stars 32 forks source link

Fix various potential memory misuses #160

Closed root-hardenedvault closed 3 years ago

root-hardenedvault commented 3 years ago

Signed-off-by: HardenedVault root@hardenedvault.net

gkdr commented 3 years ago

hi @root-hardenedvault, thanks once again for your contribution :slightly_smiling_face:

i still remember trying to find out whether free() and g_free() are interchangeable and concluded that they are, but now every search result points towards the opposite. weird, i wonder how i ended up at that conclusion :grimacing:

good thing you caught both of these things. could you fix the missing semicolon at the end of line 502 (as the CI pointed out) so i can merge?

root-hardenedvault commented 3 years ago

Fixed. The codecov report shouldn't bothers?

gkdr commented 3 years ago

thanks! yeah, just ignore the codecov stuff. i need to configure it better.