diff --git a/data_structures/graphs/kruskal.c b/data_structures/graphs/kruskal.c index cd2b10a0b4..44844c0d7c 100644 --- a/data_structures/graphs/kruskal.c +++ b/data_structures/graphs/kruskal.c @@ -41,7 +41,7 @@ struct Graph *createGraph(int V, int E) * * @param ptr Pointer to the graph structure to be deallocated. */ -void deleteGraph(struct Graph *graph) +void deleteGraph(struct Graph *const graph) { if (graph == NULL) {