commit | 905b3fdd57166c2b2d2433790109b2c41ecdbdda | [log] [tgz] |
---|---|---|
author | David Symonds <dsymonds@golang.org> | Sun Oct 12 16:27:29 2014 +1100 |
committer | David Symonds <dsymonds@golang.org> | Sun Oct 12 16:27:29 2014 +1100 |
tree | 904dd501aa0877c1812e0c1ef6af3e67c3e32a32 | |
parent | bebcf5de5700fa221a8bc51e46263e7fb4082110 [diff] |
goprotobuf: Check GetProperties is passed a struct early on. This avoids a a dangling lock later on if a bad type is passed in. LGTM=gmlewis R=gmlewis CC=golang-codereviews https://codereview.appspot.com/152440043