IMO it's better to fix the actual issue so we can also free the string properly, instead of working around the issue in GI.
Opened #1126 for this, should be trivial.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1125#issuecomment-231125499