Skip to content

fix bug in#1270

Closed
Arash1381-y wants to merge 1 commit intoTheAlgorithms:masterfrom
Arash1381-y:master
Closed

fix bug in#1270
Arash1381-y wants to merge 1 commit intoTheAlgorithms:masterfrom
Arash1381-y:master

Conversation

@Arash1381-y
Copy link

fix the bug i issued here

@Panquesito7 Panquesito7 added the bugfix Correction to existing algorithms label Jun 11, 2023
@Panquesito7 Panquesito7 linked an issue Jun 11, 2023 that may be closed by this pull request
{
head = head->pre;
head->next = NULL;
head->next = NULL;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There don't seem to be any changes rather than the brackets. 🤔
Could you please explain if you made any changes?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm.. I think there is no bug. The next element of the pre should be NULL in this case. (One thing left is to free, but it's another).

@github-actions
Copy link
Contributor

This pull request has been automatically marked as abandoned because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Jul 13, 2023
@github-actions
Copy link
Contributor

Please ping one of the maintainers once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to ask for help in our Gitter channel or our Discord server. Thank you for your contributions!

@github-actions github-actions bot closed this Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Correction to existing algorithms Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Segmentation fault in queue.c

3 participants