Skip to content

Commit a79dc77

Browse files
Merge pull request #119 from dynamsoft-docs/preview
update to internal commit 465cb463
2 parents c65976c + 24ebdae commit a79dc77

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

programming/cplusplus/user-guide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ else
135135
### Release the Allocated Memory
136136
137137
```cpp
138+
if (barcodeResult)
139+
barcodeResult->Release();
138140
result->Release();
139141
delete cvr, cvr = NULL;
140142
```

0 commit comments

Comments
 (0)