pv: proper length for line transformation when handling last line of value
core: free previous allocated variable if no more pkg to build rve struct

- cleaner shut down if not enough memory at startup
db_flatstore: free result before returning null on no more pkg

- partial allocation when doing an incomplete new connection
ipops: free dns pv structure on invalid pv name
rls: proper header define guard and check of null returned value
rls: free item in case of duplicate when trying to add to str list
parser/sdp: assign stream var only if session is not null
kamcmd: proper size for memset, based on malloc