Skip to content

Commit

Permalink
fix issue #107
Browse files Browse the repository at this point in the history
  • Loading branch information
twall committed Aug 28, 2012
1 parent b83e977 commit 782b11f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/com/sun/jna/Structure.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ public int size() {
}

public void clear() {
ensureAllocated();
memory.clear(size());
}

Expand Down

0 comments on commit 782b11f

Please sign in to comment.