[GH-ISSUE #179] Question: State if workbook_close fails #146

Closed
opened 2026-05-05 11:47:08 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @petricf on GitHub (May 17, 2018).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/179

Originally assigned to: @jmcnamara on GitHub.

Given the case the call to workbook_close fails.

Is the pointer to the workbook still valid and useable ?

Or is it cleaned up as documented in the case of a successful outcome ?

Originally created by @petricf on GitHub (May 17, 2018). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/179 Originally assigned to: @jmcnamara on GitHub. Given the case the call to workbook_close fails. Is the pointer to the workbook still valid and useable ? Or is it cleaned up as documented in the case of a successful outcome ?
gitea-mirror 2026-05-05 11:47:08 -06:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@jmcnamara commented on GitHub (May 17, 2018):

Or is it cleaned up as documented in the case of a successful outcome ?

It is cleaned up: https://github.com/jmcnamara/libxlsxwriter/blob/master/src/workbook.c#L1588

<!-- gh-comment-id:390029387 --> @jmcnamara commented on GitHub (May 17, 2018): > Or is it cleaned up as documented in the case of a successful outcome ? It is cleaned up: https://github.com/jmcnamara/libxlsxwriter/blob/master/src/workbook.c#L1588
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#146
No description provided.