diff options
| author | Tyge Løvset <[email protected]> | 2023-03-27 19:57:09 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-03-27 19:57:09 +0200 |
| commit | e35036deef4fc8f17cc9221e2e666dfdb832ba78 (patch) | |
| tree | b41e45015be7454ef3f82092b558da6b365d6a57 /misc/examples/splitstr.c | |
| parent | ede39bc98a758674485796174ea860515ec281e6 (diff) | |
| download | STC-modified-e35036deef4fc8f17cc9221e2e666dfdb832ba78.tar.gz STC-modified-e35036deef4fc8f17cc9221e2e666dfdb832ba78.zip | |
More RAII cleanup in examples. Also removed gauss1.c and new_deq.c
Diffstat (limited to 'misc/examples/splitstr.c')
| -rw-r--r-- | misc/examples/splitstr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/examples/splitstr.c b/misc/examples/splitstr.c index bf90b5d4..2bc6fc07 100644 --- a/misc/examples/splitstr.c +++ b/misc/examples/splitstr.c @@ -15,5 +15,6 @@ int main() cregex re = cregex_from("[^ ]+"); c_formatch (i, &re, " Hello World C99! ") printf("'%.*s'\n", c_SV(i.match[0])); + cregex_drop(&re); } |
