Not knowing much C, I was confused about why malloc() wouldn't get called for the RString structure. This is elucidating:
http://www.cs.usfca.edu/~wolber/SoftwareDev/C/CStructs.htm
Particularly this part: "// automatic allocation, all fields placed on stack"