v1_9_Build_1236
pre_v1_9_Build_1236
Fix CRS memory problems.(syncronized with braches/v10)
see crs:#1