Re: [PATCH v2 1/3] media: venus: Add support for static video encoder/decoder declarations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/28/24 14:54, Bryan O'Donoghue wrote:
On 28/11/2024 09:02, Vladimir Zapolskiy wrote:
+    np = of_changeset_create_node(ocs, dev->of_node, node_name);
+    if (!np) {
+        dev_err(dev, "Unable to create new node\n");
+        return -ENODEV;

Leaked reference to np.

I don't believe that's a leak, because you only release np when it is
non-NULL.


Clearly it's my fault here, I'm very sorry for it.

--
Best wishes,
Vladimir




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux