[sr-dev] git:master:dba589a5: janssonrpcc: use size of data type to allocate memory