Commit 77288af6 authored by Daniel Teske's avatar Daniel Teske
Browse files

IdCache: Use delete[] for memory qstrdup allocated

Change-Id: Id39e31191116196e1a9385e0d22bef0bfbb6c861
Reviewed-by: default avatarEike Ziller <>
parent ff6e9333
......@@ -88,7 +88,7 @@ struct IdCache : public QHash<StringHolder, int>
for (IdCache::iterator it = begin(); it != end(); ++it)
free(const_cast<char *>(it.key().str));
delete[](const_cast<char *>(it.key().str));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment