Replace caseproto_clone with caseproto_ref
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 20 Jul 2009 04:34:38 +0000 (06:34 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 20 Jul 2009 04:34:38 +0000 (06:34 +0200)
commit4bd4ff4a47e70820ea55a37e27fe731e97cbbd14
tree3130f648ddac436d55b2e6b4bc50f015a61d98fb
parentb883f96966eaf08620aae7269690875d3db11054
Replace caseproto_clone with caseproto_ref

Also unref the proto on destruction of the translator.
src/data/caseproto.c
src/data/caseproto.h
src/data/casereader-translator.c