[PR #137] [MERGED] Added NULL check. #367

Open
opened 2026-01-29 15:12:08 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/137
Author: @svaniksharma
Created: 7/24/2018
Status: Merged
Merged: 2/10/2019
Merged by: @ashwek

Base: masterHead: master


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 exercism/hello-world/hello_world.c (+1 -0)

📄 Description

The solution presented is correct. However, for the sake of good practice, it is important that we check whether a call to malloc or calloc is successful.


🔄 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/TheAlgorithms/C/pull/137 **Author:** [@svaniksharma](https://github.com/svaniksharma) **Created:** 7/24/2018 **Status:** ✅ Merged **Merged:** 2/10/2019 **Merged by:** [@ashwek](https://github.com/ashwek) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`fc6a345`](https://github.com/TheAlgorithms/C/commit/fc6a345ee5cdcc34f5b0f0be6081f21d66f3ac21) Added NULL check. ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `exercism/hello-world/hello_world.c` (+1 -0) </details> ### 📄 Description The solution presented is correct. However, for the sake of good practice, it is important that we check whether a call to `malloc` or `calloc` is successful. --- <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 15:12:08 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#367