[PR #1190] [MERGED] [FIX] Fix free segfault #1980

Open
opened 2026-01-29 17:19:35 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1190
Author: @NilsIrl
Created: 1/18/2020
Status: Merged
Merged: 1/18/2020
Merged by: @cfsmp3

Base: masterHead: segfault


📝 Commits (2)

  • 4d4cf7e Fix free segfault
  • 05322d8 Mention that freeing should be done

📊 Changes

2 files changed (+9 additions, -5 deletions)

View changed files

📝 src/lib_ccx/ccx_encoders_common.c (+5 -5)
📝 src/lib_ccx/utility.c (+4 -0)

📄 Description

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

My familiarity with the project is as follows (check one):

  • I have used CCExtractor just a couple of times.

I restricted the scope and used free because the features of freep
aren't needed here.

Restricting the scope makes it clear when freeing the variable should be
done.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1190 **Author:** [@NilsIrl](https://github.com/NilsIrl) **Created:** 1/18/2020 **Status:** ✅ Merged **Merged:** 1/18/2020 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `segfault` --- ### 📝 Commits (2) - [`4d4cf7e`](https://github.com/CCExtractor/ccextractor/commit/4d4cf7ec42969c232968fc2ad7ea1f58a00cca0c) Fix free segfault - [`05322d8`](https://github.com/CCExtractor/ccextractor/commit/05322d89c8e538137a4622b71070f2d42c2dad72) Mention that freeing should be done ### 📊 Changes **2 files changed** (+9 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/lib_ccx/ccx_encoders_common.c` (+5 -5) 📝 `src/lib_ccx/utility.c` (+4 -0) </details> ### 📄 Description **In raising this pull request, I confirm the following (please check boxes):** - [X] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [X] I have checked that another pull request for this purpose does not exist. - [X] I have considered, and confirmed that this submission will be valuable to others. - [X] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. - [X] I give this submission freely, and claim no ownership to its content. **My familiarity with the project is as follows (check one):** - [X] I have used CCExtractor just a couple of times. --- I restricted the scope and used free because the features of freep aren't needed here. Restricting the scope makes it clear when freeing the variable should be done. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:19:35 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#1980