[sr-dev] git:5.1:f1c3c374: jsonrpcs: fix double free crash