diff options
author | Dan Willemsen <dwillemsen@google.com> | 2018-05-07 16:22:22 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2018-05-07 16:22:22 -0700 |
commit | d6989f2e5225145a26af0844c11b310dfbe76483 (patch) | |
tree | f55f95e128ba34e316a06f7fc6359e1f2493b39d /java/java_test.go | |
parent | 4339853a20bc300968d0389f4f9307ec415d540d (diff) |
Fix usage of bytes.NewBuffer in bpfix
According to the documentation: "NewBuffer creates and initializes a new
Buffer using buf as its initial contents. The new Buffer takes ownership
of buf, and the caller should not use buf after this call."
Test: Run bpfix twice, only wrote the first time.
Change-Id: I52f88bfd9247240436b46f396c9196157774615b
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions